/* =========================================================
   Friggy PEP : feuille de style
   ========================================================= */

/* ---------- Polices maison ---------- */
@font-face { font-family: "Friggy Punk"; src: url("../fonts/friggy-punk/FriggyPunk-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Friggy Punk Clean"; src: url("../fonts/friggy-punk/FriggyPunk-Clean.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Friggy Pix"; src: url("../fonts/friggy-pix/FriggyPix-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Friggy Pix Glitch"; src: url("../fonts/friggy-pix/FriggyPix-Glitch.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Friggy Marker"; src: url("../fonts/friggy-marker/FriggyMarker-Regular.woff2") format("woff2"); font-display: swap; }

/* ---------- Couleurs ---------- */
:root {
  --rose: #f1b0ea;          /* bandeaux roses du site */
  --rose-clair: #ffb5f0;    /* textes roses */
  --vert: #3fe83f;          /* vert Friggy */
  --noir: #111312;          /* fond du hero */
  --encre: #141414;
  --blanc: #ffffff;
  --menu-h: 124px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* =========================================================
   MENU
   ========================================================= */
.menu {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--menu-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: var(--rose);
}
.menu__logo { display: block; }
.menu__logo img { height: 112px; width: auto; transform-origin: 50% 90%; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.menu__logo:hover img, .menu__logo:focus-visible img { transform: rotate(-8deg) scale(1.08); }
.menu__liens { display: flex; align-items: center; gap: clamp(8px, 2.4vw, 28px); }
.menu__liens a {
  font-family: "Friggy Punk", sans-serif;
  font-size: 28px; letter-spacing: .02em;
  color: var(--blanc); text-decoration: none;
  /* leger contour sombre : le blanc reste lisible sur le rose */
  text-shadow: 0 2px 0 rgba(20, 20, 20, .55), 0 0 2px rgba(20, 20, 20, .5);
  padding: 10px 16px; border-radius: 6px;
  transition: background .2s, color .2s;
}
.menu__liens a.is-active { box-shadow: inset 0 -5px 0 var(--blanc), 0 2px 0 rgba(20, 20, 20, .35); border-radius: 0; }
.menu__liens a:hover, .menu__liens a:focus-visible { background: var(--encre); color: var(--vert); box-shadow: none; text-shadow: none; border-radius: 4px; }
.menu__x svg { width: 34px; height: 34px; fill: currentColor; display: block; filter: drop-shadow(0 2px 0 rgba(20, 20, 20, .55)); }
.menu__burger { display: none; }

/* Haut-parleur : musique on / off */
.menu__son {
  order: 3; margin-left: clamp(4px, 1.4vw, 16px);
  background: none; border: 0; cursor: pointer; color: var(--blanc);
  padding: 8px; border-radius: 6px; line-height: 0;
  filter: drop-shadow(0 2px 0 rgba(20, 20, 20, .55));
}
.menu__son svg { width: 36px; height: 36px; }
.menu__son .hp { fill: currentColor; }
.menu__son .ondes { display: none; }
.menu__son.is-on .ondes { display: inline; animation: ondes .5s ease-in-out infinite alternate; transform-origin: 12px 12px; }
.menu__son.is-on .barre { display: none; }
.menu__son:hover, .menu__son:focus-visible { background: var(--encre); color: var(--vert); }
@keyframes ondes { from { opacity: .45; } to { opacity: 1; } }
.menu { gap: 8px; }
.menu__liens { margin-left: auto; }

@media (max-width: 980px) and (min-width: 721px) {
  .menu__liens a { font-size: 22px; padding: 8px 10px; }
}
@media (max-width: 720px) {
  :root { --menu-h: 88px; }
  .menu__logo img { height: 80px; }
  .menu__son svg { width: 32px; height: 32px; }
  .menu__son { margin-left: auto; }
  .menu__burger { order: 4; }
  .menu__burger {
    display: block; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--encre);
  }
  .menu__burger svg { width: 36px; height: 36px; display: block; }
  .menu__liens {
    position: absolute; top: var(--menu-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--rose); padding: 8px 16px 20px;
    border-bottom: 4px solid var(--encre);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .menu.is-ouvert .menu__liens { transform: none; opacity: 1; pointer-events: auto; }
  .menu__liens a { font-size: 28px; padding: 14px 8px; }
  .menu__liens a.is-active { box-shadow: inset 4px 0 0 var(--blanc); padding-left: 16px; }
}

/* =========================================================
   BLOC 1 : HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: max(100svh, 720px);
  padding-top: var(--menu-h);
  background: var(--noir);
  overflow: hidden;
  isolation: isolate;
}

/* --- Les deux punks (image d'origine coupee en deux) --- */
.hero__scene { position: absolute; inset: var(--menu-h) 0 0 0; z-index: 0; --rapproche: 0px; }
.hero__punk {
  position: absolute; top: 0; height: 100%;
  aspect-ratio: 960 / 1080;
  will-change: transform;
}
.hero__punk--gauche { right: calc(50% - var(--rapproche)); }
.hero__punk--droite { left: calc(50% - var(--rapproche)); }
.hero__punk-entree, .hero__punk-secousse { position: relative; width: 100%; height: 100%; }
.hero__punk-img { width: 100%; height: 100%; opacity: .42; }
/* Yeux animes : ronds, cales sur l'iris dessine (positions mesurees sur l'image d'origine 1920x1080) */
.hero__oeil { position: absolute; object-fit: cover; border-radius: 50%; mix-blend-mode: screen; }
.hero__oeil--gauche { left: 50.26%; top: 35.83%; width: 2.5%; height: 2.22%; opacity: .75; }
.hero__oeil--droite { left: 42.92%; top: 37.59%; width: 6.46%; height: 5.74%; opacity: .62; }

/* --- Colonne centrale --- */
.hero__contenu {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(16px, 2vw, 28px) 16px 60px;
  text-align: center;
}
/* Titre en Friggy Marker : meme cycle de couleurs que le gif d'origine
   (blanc contour rose -> blanc contour vert -> vert contour blanc) */
.hero__titre {
  margin: 0; will-change: transform;
  font-family: "Friggy Marker", "Permanent Marker", cursive; font-weight: 400;
  font-size: min(13.2vw, 150px); line-height: 1.05; letter-spacing: .01em;
}
.hero__titre-texte {
  display: inline-block;
  color: #fff;
  -webkit-text-stroke: .045em #0d0d0d; paint-order: stroke fill;
  --c: #ffb5f0;
  filter: drop-shadow(.018em 0 0 var(--c)) drop-shadow(-.018em 0 0 var(--c)) drop-shadow(0 .018em 0 var(--c)) drop-shadow(0 -.018em 0 var(--c)) drop-shadow(0 0 .06em var(--c));
  animation: titre-couleurs 2.8s infinite;
}
@keyframes titre-couleurs {
  0%, 30%   { color: #fff; filter: drop-shadow(.018em 0 0 #ffb5f0) drop-shadow(-.018em 0 0 #ffb5f0) drop-shadow(0 .018em 0 #ffb5f0) drop-shadow(0 -.018em 0 #ffb5f0) drop-shadow(0 0 .06em #ffb5f0); }
  34%, 63%  { color: #fff; filter: drop-shadow(.018em 0 0 #3fe83f) drop-shadow(-.018em 0 0 #3fe83f) drop-shadow(0 .018em 0 #3fe83f) drop-shadow(0 -.018em 0 #3fe83f) drop-shadow(0 0 .06em #3fe83f); }
  67%, 96%  { color: #3fe83f; filter: drop-shadow(.018em 0 0 #fff) drop-shadow(-.018em 0 0 #fff) drop-shadow(0 .018em 0 #fff) drop-shadow(0 -.018em 0 #fff) drop-shadow(0 0 .06em #3fe83f); }
  100%      { color: #fff; filter: drop-shadow(.018em 0 0 #ffb5f0) drop-shadow(-.018em 0 0 #ffb5f0) drop-shadow(0 .018em 0 #ffb5f0) drop-shadow(0 -.018em 0 #ffb5f0) drop-shadow(0 0 .06em #ffb5f0); }
}

.hero__phrase {
  margin: clamp(18px, 3vw, 34px) 0 0;
  font-family: "Friggy Pix", monospace;
  font-size: clamp(15px, 2.1vw, 24px);
  line-height: 1.55; letter-spacing: .04em;
  color: var(--rose-clair);
  min-height: 3.1em;
}
.hero__tape .ligne { display: block; }
.hero__tape .curseur {
  display: inline-block; width: .6em; height: 1em; margin-left: .15em;
  vertical-align: -0.12em; background: var(--rose-clair);
  animation: clignote .8s steps(1) infinite;
}

/* PUNK : blanc, contour noir + liseré qui alterne rose / vert comme le titre, en stroboscope */
.hero__strobo {
  margin: .05em 0 0;
  font-family: "Friggy Marker", "Permanent Marker", cursive;
  font-size: min(12vw, 140px); line-height: 1; letter-spacing: .02em;
  color: #fff;
  -webkit-text-stroke: .045em #0d0d0d; paint-order: stroke fill;
  filter: drop-shadow(.018em 0 0 #ffb5f0) drop-shadow(-.018em 0 0 #ffb5f0) drop-shadow(0 .018em 0 #ffb5f0) drop-shadow(0 -.018em 0 #ffb5f0) drop-shadow(0 0 .06em #ffb5f0);
  animation: punk-contour 2.8s infinite, strobo .04s steps(1) infinite;
}
/* Stroboscope : le mot entier s'allume / s'eteint (40 ms), comme le gif d'origine */
@keyframes strobo { 50% { opacity: 0; } }
@keyframes punk-contour {
  0%, 46%   { filter: drop-shadow(.018em 0 0 #ffb5f0) drop-shadow(-.018em 0 0 #ffb5f0) drop-shadow(0 .018em 0 #ffb5f0) drop-shadow(0 -.018em 0 #ffb5f0) drop-shadow(0 0 .06em #ffb5f0); }
  50%, 96%  { filter: drop-shadow(.018em 0 0 #3fe83f) drop-shadow(-.018em 0 0 #3fe83f) drop-shadow(0 .018em 0 #3fe83f) drop-shadow(0 -.018em 0 #3fe83f) drop-shadow(0 0 .06em #3fe83f); }
  100%      { filter: drop-shadow(.018em 0 0 #ffb5f0) drop-shadow(-.018em 0 0 #ffb5f0) drop-shadow(0 .018em 0 #ffb5f0) drop-shadow(0 -.018em 0 #ffb5f0) drop-shadow(0 0 .06em #ffb5f0); }
}
.hero__spirale {
  position: relative;
  width: min(27vw, 309px); aspect-ratio: 1;
  margin-top: min(2vw, 24px);
  will-change: transform;
}
.hero__spirale-fond { width: 100%; height: 100%; border-radius: 50%; }
.hero__spirale-friggy {
  position: absolute; left: 50%; top: 8%;
  width: 110%; height: 87%; object-fit: cover;
  transform: translateX(-50%);
}

/* --- Mobile : punks plus petits et ramenes vers l'ecran --- */
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero__scene { --rapproche: 6vw; top: auto; height: 74vw; bottom: 0; inset-inline: 0; }
  .hero__punk { top: auto; bottom: 0; height: auto; width: 60vw; }
  .hero__titre { font-size: 15.5vw; }
  .hero__phrase { font-size: 14px; }
  .hero__strobo { font-size: 19vw; }
  .hero__spirale { width: 38vw; margin-top: 2vw; position: relative; z-index: 0; }
  .hero__contenu { padding-bottom: 66vw; }
}

/* =========================================================
   ANIMATIONS D'OUVERTURE
   ========================================================= */
.anime .hero__punk--gauche .hero__punk-entree { animation: entree-gauche 1.2s cubic-bezier(.16, 1, .3, 1) both; }
.anime .hero__punk--droite .hero__punk-entree { animation: entree-droite 1.2s cubic-bezier(.16, 1, .3, 1) both; }
.anime .hero__punk--gauche .hero__punk-secousse { animation: toise-gauche .5s 1.05s ease-in-out both; }
.anime .hero__punk--droite .hero__punk-secousse { animation: toise-droite .5s 1.12s ease-in-out both; }
.hero__titre-flash { display: inline-block; }
.anime .hero__titre-flash { animation: titre-flash .7s .55s cubic-bezier(.2, .9, .3, 1.2) both; }
.anime .hero__strobo { animation: allume .01s 2.2s both, punk-contour 2.8s 2.2s infinite, strobo .04s 2.2s steps(1) infinite; }
.anime .hero__spirale-fond { animation: spirale-entree 1s 2.3s cubic-bezier(.34, 1.56, .64, 1) both; }
.anime .hero__spirale-friggy { animation: friggy-pop .6s 2.85s cubic-bezier(.34, 1.56, .64, 1) both; }

@keyframes entree-gauche { from { transform: translateX(-115%); } to { transform: none; } }
@keyframes entree-droite { from { transform: translateX(115%); } to { transform: none; } }
@keyframes toise-gauche {
  0%, 100% { transform: none; }
  30% { transform: translateX(2.2%) rotate(1.2deg); }
  60% { transform: translateX(-.6%) rotate(-.4deg); }
}
@keyframes toise-droite {
  0%, 100% { transform: none; }
  30% { transform: translateX(-2.2%) rotate(-1.2deg); }
  60% { transform: translateX(.6%) rotate(.4deg); }
}
@keyframes titre-flash {
  0% { opacity: 0; transform: translateY(-50px) scale(1.15); filter: brightness(4) blur(4px); }
  60% { opacity: 1; filter: brightness(2.2) blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes allume { from { opacity: 0; } to { opacity: 1; } }
@keyframes spirale-entree {
  from { opacity: 0; transform: scale(0) rotate(-300deg); }
  to { opacity: 1; transform: none; }
}
@keyframes friggy-pop {
  from { opacity: 0; transform: translateX(-50%) scale(.3); }
  to { opacity: 1; transform: translateX(-50%); }
}
@keyframes clignote { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}



/* =========================================================
   Utilitaire : texte lu par les lecteurs d'ecran seulement
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   Defilement continu (bandeaux)
   ========================================================= */
.defile { overflow: hidden; width: 100%; }
.defile__piste { display: flex; width: max-content; animation: defile var(--duree, 32s) linear infinite; }
.defile--inverse .defile__piste { animation-direction: reverse; }
.defile__groupe { display: flex; align-items: center; flex-shrink: 0; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   BLOC 2 : CYBER CYPHER CRYPTO POP + CULTURE
   ========================================================= */
.culture { position: relative; z-index: 2; display: flow-root; background: var(--rose); padding: clamp(10px, 1.6vw, 20px) 0 0; }
.culture .defile { overflow: hidden; }
.culture .defile { --duree: 30s; }
.mot {
  font-family: "Friggy Pix", monospace;
  font-size: clamp(30px, 5.4vw, 72px); line-height: 1.1;
  padding: 0 clamp(22px, 5vw, 70px);
  /* chaque mot tourne dans les 4 couleurs, decale d'un cran : comme le gif d'origine (600 ms) */
  animation: mot-couleur 2.4s step-end infinite;
}
.mot--1 { animation-delay: 0s; color: var(--vert); }
.mot--2 { animation-delay: -1.8s; color: #000; }
.mot--3 { animation-delay: -1.2s; color: #ed5273; }
.mot--4 { animation-delay: -.6s; color: #fff; }
@keyframes mot-couleur {
  0%   { color: var(--vert); }
  25%  { color: #000; }
  50%  { color: #ed5273; }
  75%  { color: #fff; }
}

/* CULTURE : lettrage Friggy Marker avec coulures legeres, scintille vert / noir / rouge / blanc */
.culture__titre {
  width: min(86vw, 1000px); aspect-ratio: 1401 / 334;
  /* seul le bout des plus longues coulures deborde (un peu) sur la bande verte, sans approcher les yeux */
  margin: clamp(6px, 1.4vw, 18px) auto calc(min(86vw, 1000px) * -0.016);
  position: relative;
  -webkit-mask: url("../assets/bloc2/culture-coulures.png") center / contain no-repeat;
          mask: url("../assets/bloc2/culture-coulures.png") center / contain no-repeat;
  background: var(--vert);
  /* scintille dans les 4 couleurs des mots du dessus, au meme tempo (600 ms) */
  animation: culture-couleur 2.4s step-end infinite;
}
@keyframes culture-couleur {
  0%   { background: var(--vert); }
  25%  { background: #000; }
  50%  { background: #ed5273; }
  75%  { background: #fff; }
}
/* fin contour sombre : les coulures restent visibles meme en vert sur la bande verte */
.culture__contour { filter: drop-shadow(1.5px 0 0 #1a1a1a) drop-shadow(-1.5px 0 0 #1a1a1a) drop-shadow(0 1.5px 0 #1a1a1a) drop-shadow(0 -1.5px 0 #1a1a1a); }
/* eclaboussure a l'apparition */
.anime .culture__titre { transform: scale(.6) translateY(-30px); opacity: 0; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; }
.anime .culture__titre.is-visible { transform: none; opacity: 1; }

/* =========================================================
   BLOC 3 : DAMIERS + REGARDS
   ========================================================= */
.damier {
  --case: clamp(34px, 6.7vw, 76px);
  height: calc(var(--case) * 2);
  background: conic-gradient(#000 25%, #fff 0 50%, #000 0 75%, #fff 0) 0 0 / calc(var(--case) * 2) calc(var(--case) * 2);
}
.regards { background: #47e547; overflow: hidden; }
.regards .defile { --duree: 40s; }
.regard {
  position: relative; flex-shrink: 0;
  width: clamp(150px, 25vw, 360px); height: clamp(90px, 16.3vw, 236px);
}
.regard img {
  position: absolute; left: 50%; top: 50%;
  width: 70%; height: auto; transform: translate(-50%, -50%);
  opacity: 0;
}
.regard img.is-vu { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .defile__piste { animation: none; }
}

/* =========================================================
   BLOC 4 : FRIGGY QUI DANSE + TEXTE MOT A MOT
   La piste est haute : pendant qu'on la parcourt, la scene reste collee a l'ecran
   et le defilement fait avancer les mots (voir js/blocs.js).
   ========================================================= */
.manifeste { background: #fbfbfb; color: var(--encre); padding: 0 0 clamp(30px, 5vw, 70px); overflow-x: clip; }
.manifeste__piste { position: relative; height: var(--piste-h, 600vh); }
.manifeste__scene {
  position: sticky; top: var(--menu-h);
  height: calc(100svh - var(--menu-h));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(12px, 3vw, 40px);
}
.manifeste__friggy { height: min(calc(100svh - var(--menu-h) - 15vh), 760px); align-self: start; margin-top: 6vh; }
/* Friggy qui danse : image animee detouree, posee directement sur le fond de la section */
.manifeste__video { height: 100%; width: auto; aspect-ratio: 645 / 794; display: block; }

.manifeste__mots { position: relative; height: 60%; display: grid; place-items: center; z-index: 2; }
/* un bloc de phrase : mots empiles, une ligne par groupe */
.bloc-mots {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; align-items: center; gap: .04em;
  font-family: "Friggy Marker", cursive;
  font-size: clamp(30px, 3.9vw, 72px); line-height: 1.02; text-align: center;
  color: var(--c, var(--encre));
  transform: rotate(var(--penche, -3deg));
}
.bloc-mots span { display: block; white-space: nowrap; -webkit-text-stroke: var(--trait, 0) var(--encre); paint-order: stroke fill; }
/* une couleur par bloc */
.bloc-mots[data-ton="0"] { --c: var(--encre); }
.bloc-mots[data-ton="1"] { --c: #ff6fd8; --trait: .05em; }
.bloc-mots[data-ton="2"] { --c: #ed5273; --trait: .05em; }
.bloc-mots[data-ton="3"] { --c: var(--vert); --trait: .05em; }

/* entree : les lignes tombent l'une apres l'autre ; sortie : tout le bloc chute */
.bloc-mots.entre span { animation: ligne-tombe .34s cubic-bezier(.3, 1.5, .55, 1) both; animation-delay: calc(var(--n) * 55ms); }
.bloc-mots.sort { animation: bloc-chute .3s ease-in both; }
.bloc-mots.sort-haut { animation: bloc-remonte .3s ease-in both; }
@keyframes ligne-tombe { from { opacity: 0; transform: translateY(-120%) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes bloc-chute { to { opacity: 0; transform: translateY(40%) rotate(8deg) scale(.85); } }
@keyframes bloc-remonte { to { opacity: 0; transform: translateY(-40%) rotate(-8deg) scale(.85); } }

/* phrases fixes : seulement si les animations sont coupees */
.manifeste__phrases { display: none; }
@media (prefers-reduced-motion: reduce) {
  .manifeste__piste { height: auto; }
  .manifeste__scene { position: static; height: auto; display: flex; justify-content: center; padding: 40px 16px 0; }
  .manifeste__mots { display: none; }
  .manifeste__phrases {
    display: block; list-style: none; margin: 24px auto 0; padding: 0 16px; max-width: 900px; text-align: center;
    font-family: "Friggy Marker", cursive; font-size: clamp(22px, 3vw, 40px); line-height: 1.25;
  }
  .manifeste__phrases li { margin-bottom: .5em; }
  .manifeste__phrases li.final { display: inline; }
  .manifeste__phrases span::after { content: " "; }
}

/* =========================================================
   Final de la sequence : Friggy fige dans sa pose de depart,
   "Welcome to the" au-dessus de sa tete, PINK PUNK SHOW sous ses pieds
   ========================================================= */
/* Friggy fige : meme boite, meme taille que la video */
.manifeste__friggy { position: relative; }
.final__friggy {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  visibility: hidden;
}
.manifeste__scene.is-final .manifeste__video { visibility: hidden; }
.manifeste__scene.is-final .final__friggy,
.manifeste__scene.is-final .final__haut,
.manifeste__scene.is-final .final__bas { visibility: visible; }

/* "Welcome to the" : en grand, pose sur la crete */
.final__haut {
  /* le milieu de la phrase est a la hauteur de la pointe de la crete (0,4 % du haut de l image) */
  position: absolute; z-index: 4; left: 50%; top: .4%; translate: -50% -50%;
  margin: 0; font-family: "Friggy Marker", cursive; line-height: 1; white-space: nowrap;
  font-size: clamp(40px, 6.4vw, 112px);
  color: #836ef9; -webkit-text-stroke: .04em var(--encre); paint-order: stroke fill;
  transform: rotate(-3deg); visibility: hidden;
}
/* PINK PUNK SHOW : juste sous les semelles, comme si Friggy se tenait dessus */
.final__bas {
  position: absolute; z-index: 4; left: 50%; top: 98.5%; translate: -50% 0;
  margin: 0; display: flex; align-items: center; gap: .3em; white-space: nowrap;
  font-size: clamp(38px, 5.4vw, 100px); line-height: 1;
  transform: rotate(2deg); visibility: hidden;
}
.f-pink { font-family: "Friggy Punk", sans-serif; color: var(--rose-clair); -webkit-text-stroke: .045em var(--encre); paint-order: stroke fill; }
.f-punk { font-family: "Friggy Pix Glitch", monospace; color: var(--vert); -webkit-text-stroke: .04em var(--encre); paint-order: stroke fill; }
/* SHOW : lettres decoupees façon lettre anonyme, chacune dans une police et une etiquette */
.f-show { display: inline-flex; gap: .06em; }
.f-show b {
  display: inline-block; font-weight: 400; line-height: 1; padding: .06em .12em .02em;
  border: .04em solid var(--encre); box-shadow: .05em .05em 0 var(--encre);
}
.f-show b:nth-child(1) { font-family: "Friggy Punk", sans-serif; background: var(--encre); color: #fff; transform: rotate(-6deg); }
.f-show b:nth-child(2) { font-family: "Friggy Pix", monospace; background: #fff; color: var(--encre); transform: rotate(4deg) translateY(.06em); }
.f-show b:nth-child(3) { font-family: "Friggy Marker", cursive; background: var(--rose); color: var(--encre); transform: rotate(-3deg); }
.f-show b:nth-child(4) { font-family: "Friggy Punk Clean", sans-serif; background: #ed5273; color: #fff; transform: rotate(7deg) translateY(-.04em); }

/* entree du final : Welcome tombe, Friggy apparait, PINK / PUNK / S-H-O-W claquent un par un */
.is-final .final__haut { animation: final-tombe .45s cubic-bezier(.3, 1.5, .55, 1) both; }
.is-final .final__bas > span { animation: lettre-collee .3s cubic-bezier(.3, 1.6, .5, 1) both; }
.is-final .final__bas .f-pink { animation-delay: .35s; }
.is-final .final__bas .f-punk { animation-delay: .5s; }
.is-final .final__bas .f-show { animation: none; }
.is-final .final__bas .f-show b { animation: lettre-collee .28s cubic-bezier(.3, 1.6, .5, 1) both; }
.is-final .final__bas .f-show b:nth-child(1) { animation-delay: .65s; }
.is-final .final__bas .f-show b:nth-child(2) { animation-delay: .73s; }
.is-final .final__bas .f-show b:nth-child(3) { animation-delay: .81s; }
.is-final .final__bas .f-show b:nth-child(4) { animation-delay: .89s; }
@keyframes final-tombe { from { opacity: 0; transform: translateY(-80%) rotate(-10deg); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes lettre-collee { from { opacity: 0; scale: 2.2; } to { opacity: 1; scale: 1; } }

/* Telephone : les blocs passent au-dessus ("gauche") et en dessous ("droite") de Friggy */
@media (max-width: 720px) {
  .manifeste__scene { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto 1fr; justify-items: center; padding-bottom: 3vh; }
  .manifeste__friggy { height: min(60svh, 123vw); }  /* Friggy aussi large que l ecran */
  .manifeste__mots { height: 100%; width: 100%; }
  .bloc-mots { font-size: clamp(26px, 8vw, 44px); }
  .manifeste__friggy { align-self: center; margin-top: 0; }
  .final__haut { font-size: 11vw; }
  .final__bas { font-size: 8.6vw; }
}

/* =========================================================
   BLOC 5 : LOGO + CARROUSEL "SCENE"
   ========================================================= */
.vitrine { background: var(--vert); padding: clamp(20px, 3vw, 40px) 0 clamp(26px, 4vw, 54px); overflow: hidden; }
.vitrine__titre {
  margin: 0; text-align: center;
  font-family: "Friggy Marker", cursive; font-weight: 400;
  font-size: min(12vw, 128px); line-height: 1.05;
  color: #fff; -webkit-text-stroke: .05em var(--encre); paint-order: stroke fill;
  filter: drop-shadow(.03em .04em 0 var(--encre));
}
.vitrine__scene {
  --carte: min(36vw, 380px);
  position: relative; height: calc(var(--carte) * 1.12); margin-top: clamp(10px, 2vw, 24px);
  perspective: 1400px; outline: none; touch-action: pan-y;
}
.vitrine__cartes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.carte {
  position: absolute; left: 50%; top: 4%;
  width: var(--carte); aspect-ratio: 1; margin-left: calc(var(--carte) / -2);
  transition: transform .55s cubic-bezier(.22, .9, .3, 1), opacity .4s, filter .4s;
  cursor: pointer; will-change: transform;
}
.carte img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border: 4px solid var(--encre); box-shadow: 8px 8px 0 var(--encre); background: #fff;
}
.carte__badge {
  position: absolute; top: -12px; left: -10px; z-index: 2;
  font-family: "Friggy Pix", monospace; font-size: clamp(11px, 1.3vw, 16px); letter-spacing: .04em;
  padding: .45em .6em .35em; border: 3px solid var(--encre); box-shadow: 3px 3px 0 var(--encre);
  transform: rotate(-6deg); background: #fff; color: var(--encre);
}
.carte--legendary .carte__badge { background: #ffd23f; }
.carte--super-rare .carte__badge { background: #ed5273; color: #fff; }
.carte--rare .carte__badge { background: var(--rose); }
.carte--uncommon .carte__badge { background: var(--vert); }
.carte__numero {
  position: absolute; right: 10px; bottom: 6px; z-index: 2;
  font-family: "Friggy Marker", cursive; font-size: clamp(18px, 2.2vw, 30px);
  color: #fff; -webkit-text-stroke: .08em var(--encre); paint-order: stroke fill;
}
/* les cartes hors du centre sont un peu plus sombres ; seule la carte centrale porte badge et numero */
.carte:not(.is-centre) { filter: brightness(.82) saturate(.9); }
.carte:not(.is-centre) .carte__badge, .carte:not(.is-centre) .carte__numero { opacity: 0; transition: opacity .2s; }
/* Legendary au centre : liseré dore qui brille */
.carte--legendary.is-centre img { border-color: #b8860b; animation: legendaire 1.6s ease-in-out infinite; }
@keyframes legendaire {
  0%, 100% { box-shadow: 8px 8px 0 var(--encre), 0 0 0 4px #ffd23f, 0 0 18px 6px rgba(255, 210, 63, .55); }
  50%      { box-shadow: 8px 8px 0 var(--encre), 0 0 0 6px #fff3a8, 0 0 34px 12px rgba(255, 210, 63, .9); }
}
.vitrine__fleche {
  position: absolute; top: 45%; z-index: 30; translate: 0 -50%;
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid var(--encre); background: #fff; box-shadow: 4px 4px 0 var(--encre);
  font-size: 26px; line-height: 1; cursor: pointer; color: var(--encre);
}
.vitrine__fleche--prec { left: clamp(10px, 4vw, 60px); }
.vitrine__fleche--suiv { right: clamp(10px, 4vw, 60px); }
.vitrine__fleche:hover, .vitrine__fleche:focus-visible { background: var(--encre); color: var(--vert); }
.vitrine__legende {
  margin: clamp(4px, 1vw, 12px) 0 0; text-align: center;
  font-family: "Friggy Pix", monospace; font-size: clamp(16px, 1.8vw, 22px); color: var(--encre);
}
@media (max-width: 720px) {
  .vitrine__scene { --carte: 68vw; }
  .vitrine__fleche { width: 44px; height: 44px; font-size: 20px; top: 50%; }
}

/* =========================================================
   BLOC 6 : AFFICHE "ORIGINAL PUNKSTER"
   L'affiche d'origine + la nouvelle bouteille animee par-dessus.
   ========================================================= */
.affiche-zone { background: var(--rose); padding: clamp(40px, 7vw, 100px) 16px; display: grid; place-items: center; overflow: hidden; }
.affiche { position: relative; width: min(92vw, 920px); aspect-ratio: 786 / 1118; perspective: 1600px; }
.affiche__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.affiche__inner {
  position: absolute; inset: 0; overflow: hidden; container-type: inline-size;
  background: #0b0a0c; border: 6px solid var(--encre); box-shadow: 16px 16px 0 var(--encre);
}
.affiche__fond { position: absolute; inset: 0; width: 100%; height: 100%; }
/* les eclairs clignotent en stroboscope, comme dans le gif d'origine (100 ms allumes / 100 ms eteints) */
.anime .is-vu .affiche__fond--eclairs { animation: eclairs-strobo .2s steps(1) infinite; }
@keyframes eclairs-strobo { 50% { opacity: 0; } }

/* --- la bouteille : a la place exacte de l'ancienne --- */
.bouteille { position: absolute; left: 50%; top: 7.5%; width: 42%; aspect-ratio: 351 / 970; translate: -50% 0; }
.bouteille__socle { position: absolute; inset: 0; width: 100%; height: 100%; }   /* cache l'ancienne bouteille */
.bouteille__danse { position: absolute; inset: 0; transform-origin: 50% 50%; }   /* pivot au centre de la bouteille */
.bouteille__corps { width: 100%; height: 100%; }
.bouteille__capsule { position: absolute; left: 33.3%; top: 5.57%; width: 32.8%; height: auto; }
.bouteille__clic { position: absolute; inset: 0; z-index: 3; background: none; border: 0; cursor: pointer; border-radius: 30% 30% 12% 12%; }
.bouteille__clic:focus-visible { outline: 3px dashed #fff; outline-offset: 4px; }
.bouteille__bulles { position: absolute; left: 22%; right: 22%; top: 34%; bottom: 8%; overflow: hidden; pointer-events: none; opacity: 0; }
.bouteille__bulles i {
  position: absolute; bottom: -10%; width: 3.2%; aspect-ratio: 1; min-width: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, .75); box-shadow: 0 0 4px rgba(255, 255, 255, .8);
  animation: bulle 2.6s linear infinite;
}
.bouteille__bulles i:nth-child(1) { left: 12%; animation-delay: 0s; }
.bouteille__bulles i:nth-child(2) { left: 30%; animation-delay: .7s; width: 2.4%; }
.bouteille__bulles i:nth-child(3) { left: 48%; animation-delay: 1.3s; }
.bouteille__bulles i:nth-child(4) { left: 66%; animation-delay: .35s; width: 2%; }
.bouteille__bulles i:nth-child(5) { left: 82%; animation-delay: 1.8s; }
.bouteille__bulles i:nth-child(6) { left: 22%; animation-delay: 2.1s; width: 2.6%; }
.bouteille__bulles i:nth-child(7) { left: 58%; animation-delay: 1s; width: 2%; }
.bouteille__bulles i:nth-child(8) { left: 74%; animation-delay: 1.55s; }
@keyframes bulle { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(-1100%); opacity: 0; } }
.bouteille__mousse { position: absolute; left: 50%; top: 6%; width: 0; height: 0; pointer-events: none; }
.bouteille__mousse i { position: absolute; width: 4cqw; aspect-ratio: 1; margin: -2cqw; border-radius: 50%; background: #fff; opacity: 0; }
.bouteille__mousse i:nth-child(3n+1) { background: #ff9be8; }
.bouteille__mousse i:nth-child(3n+2) { background: #ffd6f6; }
.bouteille__cheers {
  position: absolute; left: 50%; top: -2%; translate: -50% 0; white-space: nowrap;
  font-family: "Friggy Marker", cursive; font-size: 8cqw; color: #ffaaf6; -webkit-text-stroke: .04em var(--encre); paint-order: stroke fill;
  opacity: 0; pointer-events: none;
}
.affiche__reflet {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 120, 230, .3) 40%, rgba(255, 255, 255, .4) 50%, rgba(255, 150, 235, .3) 60%, transparent 80%);
  background-size: 250% 250%; background-position: var(--mx, 50%) var(--my, 50%);
  mix-blend-mode: color-dodge;
}
.affiche:hover .affiche__reflet { opacity: .8; }
.affiche__scotch { position: absolute; z-index: 5; width: 22%; height: 5.5%; background: rgba(245, 235, 200, .82); box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.affiche__scotch--hg { left: -10%; top: -1%; rotate: -38deg; }
.affiche__scotch--hd { right: -10%; top: -1%; rotate: 38deg; }
.affiche__scotch--bg { left: -10%; bottom: 0; rotate: 38deg; }
.affiche__scotch--bd { right: -10%; bottom: 0; rotate: -38deg; }

/* --- choregraphie : l'affiche se colle, la bouteille se dandine, la capsule saute --- */
.anime .affiche { opacity: 0; }
.anime .affiche.is-vu { animation: aff-colle .75s cubic-bezier(.3, 1.45, .55, 1) both; }
@keyframes aff-colle {
  from { opacity: 0; transform: translateY(-45%) rotate(-16deg) scale(1.2); }
  60% { opacity: 1; }
  to { opacity: 1; transform: rotate(-1.5deg); }
}
.anime .affiche__scotch { opacity: 0; }
.anime .is-vu .affiche__scotch { animation: scotch .25s .7s both; }
.anime .is-vu .affiche__scotch--hd { animation-delay: .78s; }
.anime .is-vu .affiche__scotch--bg { animation-delay: .86s; }
.anime .is-vu .affiche__scotch--bd { animation-delay: .94s; }
@keyframes scotch { from { opacity: 0; scale: 1.6; } to { opacity: 1; scale: 1; } }
/* la bouteille tangue de gauche a droite autour de son centre, qui reste fixe */
.anime .is-vu .bouteille__danse { animation: tangue 3s ease-in-out infinite; }
@keyframes tangue {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
.anime .bouteille.pop .bouteille__capsule { animation: capsule-saute .9s cubic-bezier(.2, .7, .4, 1) both; }
.anime .bouteille.pop .bouteille__mousse i { animation: mousse .8s ease-out both; }
.anime .bouteille.pop .bouteille__cheers { animation: cheers 1.1s .1s both; }
.anime .bouteille.ouverte .bouteille__bulles { opacity: 1; transition: opacity .6s .4s; }
@keyframes capsule-saute {
  0% { transform: none; opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translate(140%, -520%) rotate(620deg); opacity: 0; }
}
@keyframes mousse {
  0% { opacity: 1; transform: translate(0, 0) scale(.4); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.2); }
}
@keyframes cheers {
  0% { opacity: 0; transform: translateY(20%) scale(.6) rotate(-6deg); }
  25% { opacity: 1; transform: translateY(-40%) scale(1.1) rotate(-6deg); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-90%) scale(1) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) { .bouteille__bulles { display: none; } }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.pied {
  background: #0b0a0c; color: #fff; text-align: center;
  padding: clamp(40px, 6vw, 80px) 20px clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.4vw, 26px);
  border-top: 6px solid var(--encre);
}
.pied__logo img { height: clamp(110px, 12vw, 150px); width: auto; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.pied__logo:hover img { transform: rotate(-8deg) scale(1.08); }
.pied__x {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: "Friggy Punk", sans-serif; font-size: clamp(20px, 2.6vw, 30px); text-decoration: none;
  color: var(--encre); background: var(--rose); padding: .55em 1em .45em;
  border: 4px solid #fff; box-shadow: 6px 6px 0 #fff; transform: rotate(-2deg);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.pied__x svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.pied__x:hover, .pied__x:focus-visible { background: var(--vert); transform: rotate(0) scale(1.05); box-shadow: 8px 8px 0 #fff; }
.pied__liens { display: flex; align-items: center; gap: .6em; flex-wrap: wrap; justify-content: center; font-family: "Friggy Punk Clean", sans-serif; font-size: clamp(16px, 1.8vw, 20px); }
.pied__liens a { color: #fff; text-decoration: none; padding: .2em .3em; }
.pied__liens a:hover, .pied__liens a:focus-visible { color: var(--vert); }
.pied__liens span { color: var(--rose); }
.pied__son { background: none; border: 2px solid #fff; border-radius: 50%; color: #fff; padding: 6px; margin-left: .4em; cursor: pointer; line-height: 0; }
.pied__son svg { width: 22px; height: 22px; }
.pied__son .hp { fill: currentColor; }
.pied__son .ondes { display: none; }
.pied__son.is-on .ondes { display: inline; }
.pied__son.is-on .barre { display: none; }
.pied__son:hover, .pied__son:focus-visible { color: var(--vert); border-color: var(--vert); }
.pied__avertissement { max-width: 640px; margin: 0; font-family: "Outfit", system-ui, sans-serif; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; color: #d9d2dc; }
.pied__avertissement strong { color: #fff; }
.pied__devise { margin: 0; font-family: "Friggy Marker", cursive; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; color: var(--rose-clair); }
.pied__devise span { display: block; color: #fff; }
.pied__slogan { margin: 0; font-family: "Friggy Pix Glitch", monospace; font-size: clamp(22px, 3.2vw, 40px); color: var(--vert); letter-spacing: .04em; }
.pied__copyright { margin: 0; font-family: "Friggy Pix", monospace; font-size: 12px; color: #8a8090; }

/* =========================================================
   PAGE FRIGGY PEP : BLOC 1, FRIGGY SUR LE MUR DE STICKERS
   ========================================================= */
/* pages sans hero : le contenu commence sous le menu fixe */
.page-interne main { padding-top: var(--menu-h); }
.mur { position: relative; background: #fff; overflow: hidden; padding-top: clamp(30px, 5vw, 70px); display: flex; flex-direction: column; justify-content: flex-end; }
.mur__stickers { position: absolute; inset: 0; }
.sticker {
  position: absolute; height: auto; z-index: 1;
  transform: rotate(var(--penche)); filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, .18));
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), filter .25s;
  will-change: translate;
}
.sticker:hover { transform: rotate(calc(var(--penche) * -1)) scale(1.08); filter: drop-shadow(8px 12px 0 rgba(0, 0, 0, .22)); z-index: 3; }
.anime .sticker { opacity: 0; }
.anime .sticker.is-colle { animation: sticker-colle .4s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes sticker-colle {
  from { opacity: 0; transform: rotate(calc(var(--penche) * 4)) scale(2); }
  to { opacity: 1; transform: rotate(var(--penche)); }
}
.mur__friggy { position: relative; z-index: 2; width: min(66vw, 820px); margin: 0 auto; container-type: inline-size; }
.mur__portrait { width: 100%; height: auto; display: block; }
.anime .mur__portrait { animation: portrait-monte .9s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes portrait-monte { from { opacity: 0; transform: translateY(12%); } to { opacity: 1; transform: none; } }
/* PUNK sur le t-shirt : meme habillage que le hero (blanc, contour rose / vert, stroboscope) */
.mur__punk {
  /* taille calee sur la largeur du t-shirt (environ 22 % du portrait) : le mot reste sur le t-shirt */
  position: absolute; left: 69%; top: 81%; translate: -50% -50%; margin: 0;
  font-family: "Friggy Marker", cursive; font-size: 6.6cqw; line-height: 1; color: #fff;
  -webkit-text-stroke: .045em #0d0d0d; paint-order: stroke fill;
  filter: drop-shadow(.018em 0 0 #ffb5f0) drop-shadow(-.018em 0 0 #ffb5f0) drop-shadow(0 .018em 0 #ffb5f0) drop-shadow(0 -.018em 0 #ffb5f0);
  transform: rotate(-4deg);
  animation: punk-contour 2.8s infinite, strobo .04s steps(1) infinite;
}
@media (max-width: 720px) {
  .mur { padding-top: 18vw; }
  .mur__friggy { width: 84vw; }
  .sticker { width: 17vw !important; }
}

/* =========================================================
   PAGE FRIGGY PEP : BLOC 2, LA COLLECTION
   ========================================================= */
.collection { background: var(--rose); color: var(--encre); padding: clamp(36px, 5vw, 70px) 16px clamp(40px, 6vw, 80px); text-align: center; }
.collection__accroche { margin: .4em auto 0; max-width: 640px; font-family: "Friggy Marker", cursive; font-size: clamp(20px, 2.4vw, 30px); color: #6a4fd6; }
.chiffres { margin: clamp(26px, 4vw, 50px) auto 0; max-width: 1000px; }
.chiffres__total { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .1em; }
.chiffres__total .compteur {
  font-family: "Friggy Punk", sans-serif; font-size: clamp(80px, 15vw, 190px); line-height: .9; color: #fff;
  -webkit-text-stroke: .035em var(--encre); paint-order: stroke fill; text-shadow: .05em .05em 0 var(--encre);
}
.chiffres__total span:last-child { font-family: "Friggy Pix", monospace; font-size: clamp(18px, 2.2vw, 28px); }
.chiffres__tiers { list-style: none; margin: clamp(20px, 3vw, 34px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.6vw, 20px); }
.tier {
  font-family: "Friggy Pix", monospace; font-size: clamp(14px, 1.4vw, 17px);
  padding: .7em 1em .55em; border: 3px solid var(--encre); box-shadow: 5px 5px 0 var(--encre); background: #fff;
  display: flex; flex-direction: column; align-items: center; gap: .25em; min-width: 9em;
}
.tier:nth-child(odd) { transform: rotate(-2deg); }
.tier:nth-child(even) { transform: rotate(2deg); }
.tier .compteur { font-family: "Friggy Punk", sans-serif; font-size: 2.6em; line-height: 1; }
.tier--legendary { background: #ffd23f; }
.tier--super-rare { background: #ed5273; color: #fff; }
.tier--rare { background: #ffaaf6; }
.tier--uncommon { background: var(--vert); }

.explorateur { margin: clamp(40px, 6vw, 80px) auto 0; max-width: 1180px; }
.explorateur__titre { margin: 0; font-family: "Friggy Punk", sans-serif; font-weight: 400; font-size: clamp(30px, 4.4vw, 56px); color: #fff; -webkit-text-stroke: .04em var(--encre); paint-order: stroke fill; }
.explorateur__onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.onglet {
  font-family: "Friggy Punk Clean", sans-serif; font-size: clamp(15px, 1.5vw, 18px); cursor: pointer;
  padding: .55em .9em .45em; border: 3px solid var(--encre); background: #fff; color: var(--encre); box-shadow: 3px 3px 0 var(--encre);
}
.onglet[aria-selected="true"] { background: var(--encre); color: var(--vert); box-shadow: none; transform: translate(3px, 3px); }
.onglet:hover { background: var(--vert); }
.onglet[aria-selected="true"]:hover { background: var(--encre); }
.explorateur__grille { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46vw, 170px), 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.trait {
  background: #fff; border: 3px solid var(--encre); box-shadow: 5px 5px 0 var(--encre); text-align: left;
  display: flex; flex-direction: column; animation: trait-entre .3s both;
}
.trait img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-bottom: 3px solid var(--encre); background: #eee; }
.trait__infos { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.trait__nom { font-family: "Friggy Punk Clean", sans-serif; font-size: 15px; line-height: 1.15; }
.trait__compte { font-family: "Friggy Pix", monospace; font-size: 12px; color: #555; }
.trait__badge { align-self: flex-start; margin-top: auto; font-family: "Friggy Pix", monospace; font-size: 11px; padding: .35em .5em .25em; border: 2px solid var(--encre); background: #fff; }
.trait[data-tier="Legendary"] .trait__badge { background: #ffd23f; }
.trait[data-tier="Super Rare"] .trait__badge { background: #ed5273; color: #fff; }
.trait[data-tier="Rare"] .trait__badge { background: #ffaaf6; }
.trait[data-tier="Uncommon"] .trait__badge { background: var(--vert); }
.trait--secret { background: var(--encre); color: #fff; }
.trait--secret .trait__mystere {
  aspect-ratio: 1; display: grid; place-items: center; border-bottom: 3px solid #ffd23f;
  font-family: "Friggy Marker", cursive; font-size: 72px; color: #ffd23f;
  background: repeating-linear-gradient(45deg, #1a1a1a 0 12px, #111 12px 24px);
}
.trait--secret .trait__compte { color: #bbb; }
@keyframes trait-entre { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.explorateur__legende { margin: 22px auto 0; max-width: 760px; font-family: "Friggy Pix", monospace; font-size: 13px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .mur__punk { animation: none; } }

/* =========================================================
   PAGE POP-CULTURE : BLOC 1, PUNK IS ...
   ========================================================= */
.punkis { background: #fff; color: var(--encre); min-height: min(70svh, 640px); display: grid; place-content: center; text-align: center; padding: 40px 16px; }
.punkis__ligne { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .1em .45em; line-height: 1; font-size: clamp(46px, 8vw, 116px); }
.punkis__fixe { font-family: "Friggy Punk", sans-serif; font-size: clamp(54px, 9vw, 130px); }
.punkis__mot {
  font-family: "Friggy Pix Glitch", monospace; font-size: clamp(46px, 8vw, 116px); color: #ff4fd8;
  -webkit-text-stroke: .03em var(--encre); paint-order: stroke fill; min-width: 4ch; display: inline-block; word-spacing: .25em;
}
.punkis__mot.change { animation: mot-glitch .35s steps(4) both; }
@keyframes mot-glitch {
  0% { opacity: 0; transform: translateX(-6%) skewX(12deg); filter: drop-shadow(4px 0 #22f0ff) drop-shadow(-4px 0 #ff2bd6); }
  50% { opacity: 1; transform: translateX(4%) skewX(-8deg); clip-path: inset(20% 0 30% 0); }
  100% { opacity: 1; transform: none; filter: none; clip-path: none; }
}
.punkis__sous { margin: 1.2em auto 0; max-width: 620px; font-family: "Friggy Marker", cursive; font-size: clamp(20px, 2.4vw, 28px); color: #6a4fd6; }

/* =========================================================
   PAGE POP-CULTURE : BLOC 2, FRISE CHRONOLOGIQUE
   La scene reste collee a l'ecran ; le defilement vertical fait glisser le rail a l'horizontale.
   ========================================================= */
.frise { background: #111; color: #fff; }
.frise__piste { position: relative; height: var(--piste-h, 900vh); }
.frise__scene { position: sticky; top: var(--menu-h); height: calc(100svh - var(--menu-h)); overflow: hidden; }
.frise__rail { position: absolute; top: 0; bottom: 64px; left: 0; display: flex; align-items: center; gap: 4vw; padding: 0 10vw; will-change: transform; }
.frise__panneau {
  flex: 0 0 auto; width: min(72vw, 940px); height: min(80%, 620px);
  display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto 1fr; gap: 18px 30px; align-items: center;
  opacity: .35; transform: scale(.92); transition: opacity .4s, transform .4s;
}
.frise__panneau.is-actif { opacity: 1; transform: none; }
.frise__texte { grid-column: 1; grid-row: 1 / 3; }
.frise__annee {
  margin: 0; font-family: "Friggy Punk", sans-serif; font-size: clamp(64px, 9vw, 150px); line-height: .9; color: #fff;
  -webkit-text-stroke: .03em #ff4fd8; paint-order: stroke fill; text-shadow: .05em .05em 0 #ff4fd8;
}
.frise__titre { margin: .25em 0 0; font-family: "Friggy Marker", cursive; font-weight: 400; font-size: clamp(26px, 3vw, 44px); color: var(--vert); line-height: 1.05; }
.frise__recit { margin: .6em 0 0; max-width: 34ch; font-family: "Outfit", system-ui, sans-serif; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; color: #e6dde9; }
.frise__friggy { grid-column: 2; grid-row: 1; margin: 0; justify-self: center; width: min(100%, 300px); transform: rotate(3deg); }
.frise__friggy img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; border: 4px solid #fff; box-shadow: 8px 8px 0 #ff4fd8; }
.frise__friggy figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 3px; font-family: "Friggy Pix", monospace; font-size: 13px; }
.frise__friggy figcaption b { font-family: "Friggy Punk Clean", sans-serif; font-weight: 400; font-size: 17px; color: #ffaaf6; }
.frise__refs { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; align-self: start; }
.frise__panneau--sans-trait .frise__refs { grid-row: 1 / 3; align-self: center; }
.frise__ref {
  height: clamp(80px, 11vw, 150px); width: auto; max-width: 46%; object-fit: cover;
  border: 3px solid #fff; background: #222; transform: rotate(var(--r)); box-shadow: 4px 4px 0 rgba(255, 79, 216, .6);
}
.frise__panneau--sans-trait .frise__ref { height: clamp(110px, 15vw, 210px); }
.frise__panneau--final .frise__friggy { grid-row: 1 / 3; width: min(100%, 470px); transform: none; }
.frise__panneau--final .frise__friggy img { border: 0; box-shadow: none; aspect-ratio: 645 / 794; object-fit: contain; }
/* 1969 : grande scene Friggy-Iggy, Iggy Pop et la piece Haircut en petit sous le texte */
.frise__panneau--vedette .frise__texte { grid-row: 1; align-self: end; }
.frise__panneau--vedette .frise__friggy { grid-row: 1 / 3; width: min(100%, 460px); transform: none; }
.frise__panneau--vedette .frise__friggy img { border: 3px solid #fff; box-shadow: 10px 10px 0 #ff4fd8; }
.frise__panneau--vedette .frise__refs { grid-column: 1; grid-row: 2; justify-content: flex-start; gap: 22px; }
.frise__panneau--vedette .frise__refs { flex-wrap: nowrap; align-items: flex-start; }
.frise__panneau--vedette .frise__ref { height: auto; width: calc(50% - 11px); max-width: 260px; max-height: 300px; object-fit: contain; }
.frise__panneau--vedette .frise__mini { width: calc(50% - 11px); max-width: 240px; flex-direction: column; align-items: flex-start; }
.frise__panneau--vedette .frise__mini img { width: 100%; }
.frise__panneau--vedette .frise__ref--grand { height: clamp(110px, 13vw, 180px); max-width: none; }
.frise__panneau--affiche .frise__friggy { width: min(100%, 380px); }
.frise__panneau--affiche .frise__friggy img { aspect-ratio: 4 / 5; }
.frise__panneau--vedette .frise__ref--logo { width: 36%; max-width: 220px; max-height: none; border: 0; background: none; box-shadow: none; }
.frise__panneau--vedette .frise__ref--detoure { width: 62%; max-width: 360px; max-height: none; border: 0; background: none; box-shadow: none; }
.frise__friggy .frise__traits { gap: 5px; }
.frise__friggy .frise__traits b { font-size: 15px; }
[data-annee="1979"] .frise__refs { align-items: center; gap: 16px; }
[data-annee="1979"] .frise__ref { width: auto; max-width: 34%; max-height: 260px; }
.frise__pile { width: calc(50% - 11px); display: flex; flex-direction: column; gap: 12px; }
.frise__panneau--vedette .frise__pile .frise__ref { width: 100%; max-width: none; }
/* 1989 : Poison (Final Fight) tourne autour de Friggy */
.frise__friggy { position: relative; }
.frise__orbite { position: absolute; left: 32%; top: 26%; width: 36%; pointer-events: none; animation: orbite-x 3.2s ease-in-out infinite alternate; }
.frise__orbite img { display: block; width: 100%; border: 0 !important; box-shadow: none !important; aspect-ratio: 1; image-rendering: pixelated; animation: orbite-y 3.2s ease-in-out -1.6s infinite alternate; }
@keyframes orbite-x { from { transform: translateX(-88%); } to { transform: translateX(88%); } }
@keyframes orbite-y { from { transform: translateY(-62%) scale(.85); } to { transform: translateY(62%) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .frise__orbite, .frise__orbite img { animation: none; } .frise__orbite { left: 4%; top: 6%; } }
.frise__ref--jeu { position: relative; display: block; height: auto; overflow: hidden; aspect-ratio: 500 / 344; }
.frise__ref--jeu > img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.frise__ref--jeu .frise__orbite { left: 6%; top: auto; bottom: 17%; width: 34%; animation: none; }
.frise__ref--jeu .frise__orbite img { animation: none; }
.frise__refs--etoile { position: relative; }
.frise__refs--etoile > .frise__ref { position: relative; z-index: 1; }
.frise__etoile { position: absolute; z-index: 0; left: 50%; top: 100%; width: clamp(70px, 8vw, 110px); translate: -50% -15%; rotate: 8deg; pointer-events: none; }
/* 1988 · 1999 : Friggy Matrix entre Akira et Ghost in the Shell */
.frise__panneau--trio { grid-template-columns: .7fr 1.3fr; width: min(80vw, 1040px); }
.frise__trio { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; flex-wrap: nowrap; }
.frise__trio-col { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.frise__panneau--sans-trait .frise__trio .frise__ref { height: auto; width: 100%; max-width: 220px; max-height: none; }
.frise__panneau--sans-trait .frise__trio-col--droite .frise__ref { aspect-ratio: 1 / 1.05; object-fit: cover; }
.frise__trio-friggy { height: min(500px, 60vh); width: auto; filter: drop-shadow(0 0 14px rgba(63, 232, 63, .45)); }
@media (max-width: 720px) { .frise__trio-friggy { height: 60vw; } }
.frise__panneau--trois .frise__refs { gap: 14px; }
.frise__panneau--trois .frise__refs > .frise__ref, .frise__panneau--trois .frise__pile, .frise__panneau--trois .frise__mini { width: calc(33.3% - 10px); }
.frise__panneau--vedette .frise__pile .frise__ref--carte { width: 62%; align-self: center; }
.frise__recit--fort { font-family: "Friggy Marker", cursive; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.3; color: #ffaaf6; }
.frise__mini { margin: 0; display: flex; align-items: center; gap: 10px; transform: rotate(3deg); }
.frise__mini img { width: clamp(165px, 16.5vw, 240px); height: auto; aspect-ratio: 1; display: block; border: 3px solid #fff; box-shadow: 4px 4px 0 #ff4fd8; }
.frise__mini figcaption { display: flex; flex-direction: column; gap: 2px; font-family: "Friggy Pix", monospace; font-size: 12px; }
.frise__mini figcaption b { font-family: "Friggy Punk Clean", sans-serif; font-weight: 400; font-size: 15px; color: #ffaaf6; }
.frise__cri { margin: .5em 0 0; font-family: "Friggy Pix Glitch", monospace; font-size: clamp(26px, 3.2vw, 46px); color: #ff4fd8; }
/* reperes : les annees en bas, l'annee en cours en surbrillance */
.frise__reperes {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px; margin: 0; padding: 0 16px; list-style: none;
  display: flex; align-items: center; gap: clamp(8px, 1.4vw, 22px); overflow: hidden; justify-content: center;
  border-top: 3px solid #ff4fd8; background: #0b0a0c; font-family: "Friggy Pix", monospace; font-size: clamp(10px, 1vw, 14px); color: #776d7c; white-space: nowrap;
}
.frise__reperes li.is-actif { color: #fff; background: #ff4fd8; padding: .3em .5em .2em; }
@media (max-width: 720px) {
  .frise__rail { gap: 10vw; padding: 0 6vw; bottom: 54px; }
  .frise__panneau { width: 86vw; height: 92%; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 10px; align-content: center; }
  .frise__texte, .frise__friggy, .frise__refs, .frise__panneau--sans-trait .frise__refs, .frise__panneau--final .frise__friggy,
  .frise__panneau--vedette .frise__texte, .frise__panneau--vedette .frise__friggy, .frise__panneau--vedette .frise__refs { grid-column: 1; grid-row: auto; }
  .frise__annee { font-size: 64px; }
  .frise__recit { font-size: 15px; }
  .frise__friggy { width: 46vw; }
  .frise__panneau--vedette .frise__friggy { width: 62vw; }
  .frise__panneau--vedette .frise__refs { justify-content: center; }
  .frise__ref, .frise__panneau--sans-trait .frise__ref { height: 22vw; }
  .frise__reperes { height: 54px; justify-content: flex-start; }
}
/* sans animations : la frise devient une simple liste verticale */
@media (prefers-reduced-motion: reduce) {
  .frise__piste { height: auto; }
  .frise__scene { position: static; height: auto; overflow: visible; }
  .frise__rail { position: static; flex-direction: column; padding: 40px 16px; gap: 60px; }
  .frise__panneau { opacity: 1; transform: none; height: auto; }
  .frise__reperes { display: none; }
}

/* ===== Page Mint (provisoire) ===== */
.mint { background: #111; color: #fff; min-height: min(70svh, 640px); display: grid; place-content: center; text-align: center; padding: 60px 16px; }
.mint__titre { margin: 0; font-family: "Friggy Marker", cursive; font-weight: 400; font-size: clamp(90px, 18vw, 240px); line-height: .9; color: #fff;
  -webkit-text-stroke: .025em #ff4fd8; paint-order: stroke fill;
  /* neon : halo rose + vert qui grésille comme un vrai tube */
  text-shadow: 0 0 .04em #fff, 0 0 .12em #ff4fd8, 0 0 .3em #ff4fd8, 0 0 .6em rgba(255, 79, 216, .7), .04em .04em 0 #3fe83f, 0 0 .9em rgba(63, 232, 63, .45);
  animation: neon-mint 4s infinite; }
@keyframes neon-mint {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; filter: brightness(1.1); }
  20%, 24%, 55% { opacity: .55; filter: brightness(.7); }
}
@media (prefers-reduced-motion: reduce) { .mint__titre { animation: none; } }
.mint__tba { margin: .4em 0 0; font-family: "Friggy Pix Glitch", monospace; font-size: clamp(28px, 4.4vw, 60px); color: #ff4fd8; }
.mint__sous { margin: 1.2em auto 0; max-width: 560px; font-family: "Outfit", system-ui, sans-serif; font-size: clamp(16px, 1.6vw, 20px); color: #e6dde9; }
.mint__sous a { color: #3fe83f; }

/* 1976 : les deux affiches restent dans le cadre sur ordinateur */
@media (min-width: 721px) { [data-annee="1976"] .frise__refs > .frise__ref { width: auto; max-height: 230px; } }
/* 1989 : grille 2 x 2 equilibree. En haut Kurt et Final Fight, en dessous le logo Red Hot et la vignette Bleach, meme taille */
.frise__panneau--vedette .frise__refs--1989 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: center; justify-items: center; width: 84%; }
.frise__panneau--vedette .frise__refs--1989 > .frise__ref { width: 100%; max-width: none; max-height: none; }
.frise__refs--1989 .frise__etoile, .frise__refs--1989 .frise__mini { position: static; width: 123px; max-width: 74%; translate: none; margin: 0; }
.frise__refs--1989 .frise__etoile { rotate: 8deg; }
.frise__refs--1989 .frise__mini { transform: rotate(-4deg); }
.frise__refs--1989 .frise__mini img { width: 100%; }
@media (min-width: 721px) { [data-annee="1989"].frise__panneau--vedette { row-gap: 6px; } }
/* ===== POP-culture sur telephone : la frise devient une colonne verticale ===== */
@media (max-width: 720px) {
  .frise__piste { height: auto !important; }
  .frise__scene { position: static; height: auto; overflow: visible; }
  .frise__rail { position: static; transform: none !important; flex-direction: column; align-items: stretch; gap: 0; padding: 0 16px; }
  .frise__reperes { display: none; }
  .frise__panneau, .frise__panneau--trio { width: 100%; height: auto; opacity: 1; transform: none; display: flex; flex-direction: column; align-items: center; gap: 18px;
    padding: 48px 0; border-bottom: 3px dashed rgba(255, 79, 216, .35); }
  .frise__panneau:last-child { border-bottom: 0; }
  .frise__texte { width: 100%; text-align: left; }
  .frise__annee { font-size: 64px; }
  .frise__titre { font-size: 28px; }
  .frise__recit { font-size: 16px; max-width: none; }
  .frise__friggy, .frise__panneau--vedette .frise__friggy, .frise__panneau--affiche .frise__friggy, .frise__panneau--final .frise__friggy { width: min(88vw, 420px); transform: none; }
  .frise__refs, .frise__panneau--vedette .frise__refs { width: 100%; justify-content: center; flex-wrap: wrap; gap: 14px; }
  .frise__panneau--vedette .frise__refs > .frise__ref, .frise__panneau--trois .frise__refs > .frise__ref,
  .frise__panneau--trois .frise__pile, .frise__panneau--trois .frise__mini, .frise__panneau--vedette .frise__mini,
  .frise__panneau--vedette .frise__pile, [data-annee="1979"] .frise__ref, .frise__ref--jeu { width: calc(50% - 7px); max-width: none; height: auto; }
  .frise__panneau--vedette .frise__mini img { width: 100%; }
  .frise__panneau--vedette .frise__ref--logo, .frise__panneau--vedette .frise__ref--detoure { width: calc(50% - 7px); }
  .frise__ref, .frise__panneau--sans-trait .frise__ref { height: auto; }
  .frise__trio { width: 100%; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
  .frise__trio-friggy { height: 110vw; width: auto; position: relative; z-index: 2; }
  /* les vignettes s'ecartent vers les quatre coins et frolent le corps de Friggy */
  .frise__trio-col { justify-content: space-between; gap: 0; padding: 4vw 0; position: relative; z-index: 1; }
  .frise__trio-col:first-child { margin-right: -9vw; }
  .frise__trio-col--droite { margin-left: -9vw; }
  .frise__panneau--sans-trait .frise__trio .frise__ref { width: 100%; }
  .frise__panneau--sans-trait .frise__trio .frise__ref { max-width: none; }
  [data-annee="1979"] .frise__ref[style*="translate"] { translate: none !important; }
  .frise__etoile { top: auto; bottom: -30px; translate: -50% 0; }
}

/* ===== Selecteur de langue EN | FR ===== */
.menu__langue { display: inline-flex; align-items: center; gap: 2px; font-family: "Friggy Pix", monospace; color: var(--encre); }
.menu__liens .menu__langue a { font-family: "Friggy Pix", monospace; font-size: 18px; padding: 6px 6px; color: rgba(20, 20, 20, .55); text-shadow: none; }
.menu__liens .menu__langue a.is-on { color: var(--encre); background: var(--blanc); border-radius: 4px; box-shadow: none; }
.menu__langue > span { font-size: 18px; opacity: .5; }
@media (max-width: 720px) {
  .menu__langue { padding: 12px 8px 0; gap: 6px; }
  .menu__liens .menu__langue a { font-size: 22px; padding: 6px 10px; }
}
@media (max-width: 720px) {
  .frise__panneau--vedette .frise__refs--1989 { width: 100%; }
  .frise__panneau--vedette .frise__refs--1989 > .frise__ref, .frise__refs--1989 .frise__ref--jeu { width: 100%; }
  .frise__refs--1989 .frise__etoile, .frise__refs--1989 .frise__mini { width: 58%; max-width: 160px; }
}
