/* ==========================================================
   APO — Fluctuat Nec Mergitur
   ========================================================== */

:root {
  --cream: #F5F0E6;
  --paper: #FFFEFA;
  --ink: #111111;
  --blue: #1B2A6B;
  --red: #E1251B;
  --orange: #F26B1D;
  --yellow: #FFCC00;
  --green: #10B26C;
  --pink: #FF13F0;
  --sky: #2F7FD0;

  --f-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --f-serif: 'Averia Serif Libre', Georgia, serif;
  --f-mono: 'Space Mono', 'Courier New', monospace;
  --f-hand: 'Homemade Apple', cursive;

  --gut: clamp(16px, 4vw, 56px);
  --hdr: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.loading, body.menu-open, body.lb-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
section { position: relative; overflow: clip; scroll-margin-top: calc(var(--hdr) - 1px); }
::selection { background: var(--yellow); color: var(--ink); }

.mono { font-family: var(--f-mono); letter-spacing: .02em; }

/* Grain papier */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .11;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Focus visible */
:focus-visible {
  outline: 3px dashed var(--pink);
  outline-offset: 3px;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 10000;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-mono); padding: .6em 1em; border-radius: 6px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-weight: 700; text-transform: uppercase;
  font-size: .85rem; letter-spacing: .04em;
  padding: .9em 1.5em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s;
}
.btn:hover { transform: translate(-2px, -3px); box-shadow: 4px 5px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn-solid { background: var(--ink); color: var(--cream); }
.btn-light { border-color: var(--cream); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--red); box-shadow: 4px 5px 0 var(--ink); }
.btn-solid-dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-solid-dark:hover { box-shadow: 4px 5px 0 var(--yellow); }

.kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }

/* ---------- Formes papier découpé ---------- */
.shape {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--pr, 0deg));
  will-change: transform;
}
.shape svg {
  width: 100%; height: 100%; display: block;
  filter: drop-shadow(3px 4px 0 rgba(17, 17, 17, .85));
  animation: wobble 7s ease-in-out infinite alternate;
}
.shape:nth-of-type(2n) svg { animation-duration: 9s; animation-direction: alternate-reverse; }
@keyframes wobble {
  from { transform: rotate(-5deg) scale(1); }
  to   { transform: rotate(6deg) scale(1.05); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10001;
  display: grid; place-items: center;
  color: #fff;
  pointer-events: all;
}
.pre-strips { position: absolute; inset: 0; display: flex; }
.pre-strips i {
  flex: 1; background: var(--ink);
  transition: transform .9s cubic-bezier(.75, 0, .2, 1);
}
/* Bleu · blanc · rouge · blanc · bleu */
.pre-strips i:nth-child(1), .pre-strips i:nth-child(5) { background: var(--blue); }
.pre-strips i:nth-child(2), .pre-strips i:nth-child(4) { background: #fff; }
.pre-strips i:nth-child(3) { background: var(--red); }
.pre-inner { position: relative; text-align: center; transition: opacity .35s, transform .5s var(--ease); }
.pre-count {
  font-family: var(--f-display);
  font-size: clamp(7rem, 32vw, 26rem);
  line-height: .9;
  display: flex; justify-content: center; align-items: flex-start;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: .04em var(--ink);
  paint-order: stroke fill;
  text-shadow: .045em .045em 0 var(--ink);
}
.pre-count small { font-size: .3em; margin-top: .25em; margin-left: .06em; color: #fff; }
.pre-line { display: inline-block; padding: .35em .8em; background: var(--ink); border-radius: 999px; font-family: var(--f-mono); color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 1rem; }
.dots::after { content: ''; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.preloader.done .pre-inner { opacity: 0; transform: scale(1.1); }
.preloader.done .pre-strips i { transform: translateY(-101%); }
.preloader.done .pre-strips i:nth-child(1) { transition-delay: .05s; }
.preloader.done .pre-strips i:nth-child(2) { transition-delay: .15s; }
.preloader.done .pre-strips i:nth-child(3) { transition-delay: .25s; }
.preloader.done .pre-strips i:nth-child(4) { transition-delay: .35s; }
.preloader.done .pre-strips i:nth-child(5) { transition-delay: .45s; }
.preloader.gone { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--hdr);
  padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between;
  transition: transform .4s var(--ease), background .3s;
}
.site-header.solid { background: rgba(245, 240, 230, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px dashed rgba(17, 17, 17, .4); }
.site-header.hide { transform: translateY(-100%); }
body.menu-open .site-header { transform: none; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { text-decoration: none; display: flex; align-items: center; gap: .4rem; position: relative; z-index: 1002; }
.brand-logo { height: 52px; width: auto; display: block; transform-origin: 50% 60%; transition: transform .4s var(--ease); filter: drop-shadow(1px 2px 0 rgba(17,17,17,.15)); }
.brand:hover .brand-logo, .brand:focus-visible .brand-logo { animation: logo-wobble .6s var(--ease); transform: rotate(-4deg) scale(1.08); }
@keyframes logo-wobble { 0% { transform: rotate(0); } 30% { transform: rotate(-9deg) scale(1.1); } 60% { transform: rotate(5deg) scale(1.08); } 100% { transform: rotate(-4deg) scale(1.08); } }
.menu-btn {
  position: relative; z-index: 1002;
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: .55em 1.1em;
  font-family: var(--f-mono); font-weight: 700; font-size: .85rem; letter-spacing: .08em;
  transition: transform .25s var(--ease), box-shadow .25s, background .2s;
}
.menu-btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.menu-icon { display: grid; gap: 4px; width: 18px; }
.menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn[aria-expanded="true"] { background: var(--yellow); }
.menu-btn[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Menu plein écran ---------- */
.menu {
  position: fixed; inset: 0; z-index: 1001;
  background: var(--blue); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr) + 1rem) var(--gut) 2rem;
  clip-path: circle(0% at calc(100% - 70px) 32px);
  visibility: hidden;
  transition: clip-path .7s cubic-bezier(.75, 0, .2, 1), visibility 0s .7s;
  overflow: hidden;
}
.menu.open { clip-path: circle(150% at calc(100% - 70px) 32px); visibility: visible; transition: clip-path .8s cubic-bezier(.75, 0, .2, 1), visibility 0s; }
.menu-nav { display: grid; position: relative; z-index: 2; }
.menu-nav a {
  display: flex; align-items: baseline; gap: 1.2rem;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(3.4rem, 15vw, 11rem); line-height: 1;
  text-decoration: none;
  padding: .04em 0;
  border-bottom: 1px dashed rgba(245, 240, 230, .35);
  transition: color .2s, padding-left .35s var(--ease);
  opacity: 0; transform: translateY(40px);
}
.menu.open .menu-nav a { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease), color .2s, padding-left .35s var(--ease); }
.menu.open .menu-nav a:nth-child(1) { transition-delay: .2s, .2s, 0s, 0s; }
.menu.open .menu-nav a:nth-child(2) { transition-delay: .28s, .28s, 0s, 0s; }
.menu.open .menu-nav a:nth-child(3) { transition-delay: .36s, .36s, 0s, 0s; }
.menu.open .menu-nav a:nth-child(4) { transition-delay: .44s, .44s, 0s, 0s; }
.menu-nav a:hover, .menu-nav a:focus-visible { color: var(--yellow); padding-left: .25em; }
.mn-n { font-family: var(--f-mono); font-size: clamp(.8rem, 1.4vw, 1.1rem); letter-spacing: .1em; color: var(--red); background: var(--cream); padding: .15em .5em; border-radius: 999px; align-self: center; }
.menu-foot { position: relative; z-index: 2; margin-top: 2rem; font-size: .8rem; opacity: .8; line-height: 1.8; }
.menu-shape svg { position: absolute; }
.menu-shape svg { fill: currentColor; }
.m-star { width: min(40vw, 380px); height: min(40vw, 380px); right: -6%; top: 12%; color: var(--red); animation: spin 40s linear infinite; }
.m-drop { width: min(22vw, 200px); height: min(22vw, 200px); right: 22%; bottom: 8%; color: var(--yellow); animation: wobble 6s ease-in-out infinite alternate; }
.m-wave { width: min(60vw, 520px); height: 160px; left: -6%; bottom: -30px; color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding-top: var(--hdr);
  display: flex; flex-direction: column;
  background: var(--cream);
}
.bands-wrap {
  position: relative;
  height: clamp(280px, 40vw, 520px);
  margin-top: clamp(0px, 1vw, 20px);
  overflow: hidden;
}
.bands {
  position: absolute; left: -12%; width: 124%; top: 50%;
  transform: translateY(-50%) rotate(-5.5deg);
  display: grid; gap: 0;
}
.band {
  --bh: clamp(46px, 6.4vw, 96px);
  height: var(--bh);
  overflow: hidden;
  display: flex; align-items: center;
  border-block: 3px solid var(--ink);
  margin-block: -1.5px;
  background: var(--bg); color: var(--fg);
}
.band-track {
  display: flex; align-items: center; flex: none; width: max-content;
  animation: marquee var(--dur, 40s) linear infinite;
  animation-direction: var(--dir, normal);
}
.band:hover .band-track { animation-play-state: paused; }
.band-half { display: flex; align-items: center; flex: none; }
.band .w {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: calc(var(--bh) * .74); line-height: 1;
  white-space: nowrap; letter-spacing: .01em;
  padding-top: .04em;
}
.band .sep { width: calc(var(--bh) * .5); height: calc(var(--bh) * .5); margin-inline: calc(var(--bh) * .3); color: currentColor; flex: none; }
.band .sep svg { width: 100%; height: 100%; display: block; }
.band .pill {
  flex: none;
  height: calc(var(--bh) * .74);
  width: calc(var(--bh) * 1.5);
  border-radius: 999px;
  border: 3px solid var(--pc, var(--cream));
  overflow: hidden;
  margin-inline: calc(var(--bh) * .3);
  transform: rotate(var(--r, 0deg));
  background: var(--pc, #222);
  box-shadow: 3px 3px 0 rgba(17, 17, 17, .8);
}
.band .pill img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-shapes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-shapes .shape { z-index: 3; }

.hero-copy {
  position: relative; z-index: 4;
  flex: 1;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--gut) clamp(2.5rem, 6vw, 5rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-title {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(2.6rem, 8.4vw, 7.4rem); line-height: .98; letter-spacing: -.02em;
  max-width: 14ch;
  text-wrap: balance;
}
.hl { position: relative; display: inline-block; color: var(--red); font-style: italic; }
.hl::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .14em;
  background: var(--blue); border-radius: 999px; transform: rotate(-1.5deg);
}
.hero-sub { font-size: clamp(1.1rem, 2.1vw, 1.6rem); margin-top: 1.2rem; max-width: 36ch; text-wrap: balance; }
.hero-sign { font-family: var(--f-hand); color: var(--blue); font-size: clamp(1rem, 2vw, 1.5rem); margin-top: 1.2rem; transform: rotate(-3deg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* Entrée du hero après le preloader */
.hero-copy > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
body.ready .hero-copy > * { opacity: 1; transform: none; }
body.ready .hero-copy > *:nth-child(2) { transition-delay: .1s; }
body.ready .hero-copy > *:nth-child(3) { transition-delay: .2s; }
body.ready .hero-copy > *:nth-child(4) { transition-delay: .3s; }
body.ready .hero-copy > *:nth-child(5) { transition-delay: .4s; }
.bands { transition: transform 1.2s var(--ease), opacity 1s; }
body:not(.ready) .bands { opacity: 0; transform: translateY(-46%) rotate(-9deg); }

/* ---------- Encyclopédie ---------- */
.enc { padding: clamp(4rem, 9vw, 8rem) var(--gut) clamp(4rem, 8vw, 7rem); background: var(--cream); }
.enc-head { position: relative; z-index: 2; max-width: 980px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.enc h2, .par-head h2, .about h2, .contact h2 {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 11vw, 9rem); line-height: .92;
}
.enc h2 .amp { color: var(--red); }
.enc-lead { margin-top: 1.2rem; max-width: 60ch; }

.enc-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: start; }
.enc-side, .enc-main { min-width: 0; }
.enc-side { position: sticky; top: calc(var(--hdr) + 16px); font-family: var(--f-mono); font-size: .8rem; }
.side-title { font-weight: 700; letter-spacing: .08em; }
.dash { height: 1px; margin: .8rem 0; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); }
.enc-nav { display: grid; gap: .55rem; }
.enc-btn {
  display: grid; grid-template-columns: auto 1fr; gap: .1rem .7rem; align-items: baseline;
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--ink);
  padding: .6rem .8rem;
  font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em;
  transition: background .15s, color .15s, transform .2s var(--ease), box-shadow .2s;
}
.enc-btn .n { font-weight: 700; }
.enc-btn .t { font-weight: 700; }
.enc-btn .y { grid-column: 2; font-size: .7rem; opacity: .65; text-transform: none; }
.enc-btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.enc-btn[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.enc-btn[aria-selected="true"]:hover { box-shadow: 3px 3px 0 var(--pc, var(--red)); }
.side-foot { opacity: .7; line-height: 1.7; }

.enc-info { max-width: 760px; margin-bottom: 1.2rem; }
.enc-meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.enc-info h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; margin: .35rem 0 .6rem; }
.enc-info h3::after { content: ''; display: block; width: 90px; height: 8px; margin-top: .5rem; background: var(--pc, var(--red)); border-radius: 99px; }
.enc-link { font-family: var(--f-mono); font-size: .85rem; font-weight: 700; display: inline-block; margin-top: .6rem; }

.enc-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.round {
  width: 104px; height: 104px; border-radius: 50%;
  background: transparent;
  border: 2px dashed var(--ink);
  font-family: var(--f-mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.25;
  display: grid; place-items: center; text-align: center; padding: 0;
  transition: background .2s, color .2s, transform .35s var(--ease);
}
.round:hover { transform: rotate(-8deg) scale(1.06); background: var(--yellow); border-style: solid; }
.round[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-style: solid; }
.enc-count { margin-left: auto; font-size: .75rem; opacity: .7; text-align: right; line-height: 1.6; }

.enc-stage {
  position: relative;
  border: 1px dashed var(--ink);
  min-height: 340px;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 17, 17, .18) 1px, transparent 1.5px) 0 0 / 22px 22px,
    rgba(255, 255, 255, .35);
  touch-action: pan-y;
  transition: height .5s var(--ease);
}
.card {
  position: absolute; left: 0; top: 0;
  margin: 0;
  background: var(--paper);
  padding: 8px 8px 8px;
  border: 1px solid rgba(17, 17, 17, .85);
  box-shadow: 3px 5px 0 rgba(17, 17, 17, .18), 0 10px 24px rgba(17, 17, 17, .12);
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(var(--r, 0deg)) scale(var(--sc, 1));
  transition: transform .75s var(--ease), box-shadow .2s;
  cursor: grab;
  touch-action: none;
  user-select: none; -webkit-user-select: none;
  animation: dropin .7s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.card img { display: block; width: 100%; height: auto; background: #eee8da; pointer-events: none; -webkit-user-drag: none; }
.card.png img { background: repeating-conic-gradient(#ece6d8 0 25%, #f6f1e6 0 50%) 0 0 / 14px 14px; }
.card:hover { box-shadow: 4px 7px 0 rgba(17, 17, 17, .22), 0 14px 30px rgba(17, 17, 17, .18); }
.card.dragging { transition: box-shadow .2s; cursor: grabbing; box-shadow: 8px 14px 0 rgba(17, 17, 17, .2), 0 20px 40px rgba(17, 17, 17, .25); --sc: 1.04; }
.card:focus-visible { outline-offset: 5px; }
.card.leaving { animation: dropout .3s ease-in both; }
@keyframes dropin { from { opacity: 0; translate: 0 -60px; } to { opacity: 1; translate: 0 0; } }
@keyframes dropout { to { opacity: 0; translate: 0 40px; } }

/* ---------- Parcours / tickets ---------- */
.parcours { background: var(--blue); color: var(--cream); padding: clamp(6rem, 11vw, 10rem) var(--gut) clamp(5rem, 9vw, 8rem); }
.wave-top { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(24px, 4vw, 60px); display: block; }
.par-head { position: relative; z-index: 2; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.par-head h2 { color: var(--cream); }
.par-lead { margin-top: 1.2rem; max-width: 56ch; color: rgba(245, 240, 230, .92); }
.tickets {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding-bottom: 20px;
}
.ticket {
  position: relative;
  color: var(--ink);
  font-family: var(--f-mono); font-size: .8rem; line-height: 1.5;
  transform: rotate(var(--tilt, 0deg));
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35));
  opacity: 0; translate: 0 50px;
  transition: opacity .7s var(--ease), translate .9s var(--ease), rotate .4s var(--ease), transform .4s var(--ease);
}
.ticket.in { opacity: 1; translate: 0 0; }
.ticket:hover { transform: rotate(0deg) translateY(-4px); }
.ticket-in {
  background: var(--paper);
  padding: 1.6rem 1.3rem 1.2rem;
  position: relative;
  background-image: repeating-linear-gradient(0deg, transparent 0 23px, rgba(17, 17, 17, .035) 23px 24px);
}
/* bords dentelés */
.ticket-in::before, .ticket-in::after {
  content: ''; position: absolute; left: 0; right: 0; height: 10px;
  background: linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 14px repeat-x,
              linear-gradient(225deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 14px repeat-x;
}
.ticket-in::before { top: -9px; transform: scaleY(-1); }
.ticket-in::after { bottom: -9px; }
.t-head { text-align: center; }
.t-brand { font-family: var(--f-display); font-size: 1.9rem; text-transform: uppercase; line-height: 1.05; letter-spacing: .01em; }
.t-role { font-weight: 700; text-transform: uppercase; margin-top: .4rem; }
.t-meta { opacity: .75; }
.t-dash { height: 1px; margin: .8rem 0; background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 10px); }
.t-cols, .t-line { display: grid; grid-template-columns: 2.6em 1fr auto; gap: .6rem; }
.t-cols { font-weight: 700; font-size: .72rem; letter-spacing: .06em; }
.t-line { padding: .18rem 0; align-items: baseline; }
.t-line .q { opacity: .6; }
.t-line .tt { text-align: right; font-weight: 700; white-space: nowrap; }
.t-total { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; }
.t-total span:last-child { text-align: right; }
.t-barcode {
  height: 38px; margin: 1rem auto .3rem; width: 80%;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 9px, #000 9px 12px, transparent 12px 13px, #000 13px 20px, transparent 20px 22px);
          mask: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 9px, #000 9px 12px, transparent 12px 13px, #000 13px 20px, transparent 20px 22px);
}
.t-num { text-align: center; letter-spacing: .3em; font-size: .7rem; }
.t-note { text-align: center; margin-top: .6rem; font-style: italic; opacity: .8; }
.ticket-recap { grid-column: 1 / -1; max-width: 880px; width: 100%; margin-inline: auto; }
.recap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.2rem 2rem; }
.recap-grid h4 { margin: 0 0 .4rem; font-size: .8rem; letter-spacing: .1em; }
.leader { display: flex; gap: .4rem; align-items: baseline; padding: .12rem 0; }
.leader::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted var(--ink); min-width: 10px; transform: translateY(-3px); }
.leader span:first-child { order: 0; }
.leader span:last-child { order: 2; font-weight: 700; }
.leader .l { order: 0; }
.leader .r { order: 2; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span { border: 1px solid var(--ink); border-radius: 999px; padding: .1em .7em; font-size: .75rem; }

/* ---------- À propos ---------- */
.about { background: var(--cream); padding: clamp(5rem, 10vw, 9rem) var(--gut); }
.about-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; max-width: 1400px; margin-inline: auto; }
.about h2 { margin-bottom: 1.5rem; color: var(--blue); }
.about-text p:not(.kicker):not(.signature) { margin-bottom: 1rem; max-width: 56ch; }
.signature { font-family: var(--f-hand); color: var(--red); font-size: 1.6rem; transform: rotate(-4deg); margin: 1rem 0 2rem; }
.passions-title { font-size: .8rem; letter-spacing: .12em; margin-bottom: .8rem; }
.passions { display: flex; flex-wrap: wrap; gap: .6rem; }
.passions li {
  font-family: var(--f-display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .03em;
  padding: .2em .9em .15em; border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--bg); color: var(--fg);
  transform: rotate(var(--r, 0deg));
  transition: transform .3s var(--ease);
  box-shadow: 2px 3px 0 var(--ink);
}
.passions li:hover { transform: rotate(0deg) scale(1.1) translateY(-3px); }
.about-art { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.about-art .shape { position: absolute; width: var(--s); }
.art-sun { position: absolute; inset: 14% 12% 18% 14%; border-radius: 50%; background: var(--orange); border: 3px solid var(--ink); box-shadow: 6px 8px 0 var(--ink); }
.art-logo { position: absolute; left: 50%; top: 50%; width: 96%; max-width: none; height: auto; transform: translate(-50%, -50%) rotate(-7deg); z-index: 2; filter: drop-shadow(4px 6px 0 rgba(17,17,17,.35)); transition: transform .5s var(--ease); }
.about-art picture { display: contents; }
.about-art:hover .art-logo { transform: translate(-50%, -50%) rotate(-3deg) scale(1.03); }

/* ---------- Contact ---------- */
.contact {
  background: var(--red); color: var(--cream);
  padding: clamp(5rem, 10vw, 9rem) var(--gut) clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.contact > *:not(.shape) { position: relative; z-index: 2; }
.contact h2 { font-size: clamp(3.6rem, 15vw, 14rem); line-height: .88; text-shadow: 5px 6px 0 var(--ink); }
.mail {
  display: inline-block; margin-top: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--f-serif); font-weight: 700; font-size: clamp(1.1rem, 4.4vw, 3rem);
  text-decoration: underline wavy var(--yellow); text-underline-offset: .2em; text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
  transition: color .2s, transform .3s var(--ease);
}
.mail:hover { color: var(--yellow); transform: rotate(-1.5deg) scale(1.03); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: clamp(1.8rem, 4vw, 3rem) 0 1.6rem; }
.cv-row { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.mp-link { font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); overflow: hidden; }
.foot-marquee { border-bottom: 1px dashed rgba(245, 240, 230, .35); overflow: hidden; padding: .6rem 0; }
.foot-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.foot-half { display: flex; flex: none; align-items: center; }
.foot-half span { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 6rem); line-height: 1; white-space: nowrap; padding-right: .4em; }
.foot-half span:nth-child(3n+2) { color: var(--red); }
.foot-half span:nth-child(3n) { color: var(--sky); }
.foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1.2rem var(--gut); font-size: .75rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(17, 17, 17, .94);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem;
  padding: 3.5rem .5rem 1rem;
  animation: fadein .25s ease both;
}
.lightbox[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: .8rem; min-width: 0; max-height: 100%; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 8rem); max-height: calc(100dvh - 8rem); width: auto; height: auto; object-fit: contain; background: var(--paper); border: 6px solid var(--paper); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb-fig figcaption { color: var(--cream); font-size: .8rem; text-align: center; }
.lb-close, .lb-nav {
  background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 50%;
  width: 48px; height: 48px; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; padding: 0;
  transition: transform .2s var(--ease), background .2s;
}
.lb-close { position: absolute; top: .8rem; right: .8rem; z-index: 2; }
.lb-close:hover, .lb-nav:hover { background: var(--yellow); transform: scale(1.1) rotate(-6deg); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .enc-layout { grid-template-columns: minmax(0, 1fr); }
  .enc-side { position: static; }
  .side-title, .side-foot, .enc-side .dash { display: none; }
  .enc-nav {
    display: flex; overflow-x: auto; gap: .5rem; padding: 4px 4px 12px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .enc-btn { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .enc-btn .y { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-art { order: -1; width: min(80%, 420px); }
}
@media (max-width: 600px) {
  :root { --hdr: 58px; }
  .brand-logo { height: 52px; width: auto; display: block; transform-origin: 50% 60%; transition: transform .4s var(--ease); filter: drop-shadow(1px 2px 0 rgba(17,17,17,.15)); }
.brand:hover .brand-logo, .brand:focus-visible .brand-logo { animation: logo-wobble .6s var(--ease); transform: rotate(-4deg) scale(1.08); }
@keyframes logo-wobble { 0% { transform: rotate(0); } 30% { transform: rotate(-9deg) scale(1.1); } 60% { transform: rotate(5deg) scale(1.08); } 100% { transform: rotate(-4deg) scale(1.08); } }
  .round { width: 86px; height: 86px; font-size: .64rem; }
  .enc-count { margin-left: 0; width: 100%; text-align: left; }
  .enc-stage { min-height: 460px; }
  .lightbox { grid-template-columns: minmax(0, 1fr); padding-top: 4rem; }
  .lb-nav { position: absolute; bottom: 1rem; z-index: 2; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-fig img { max-height: calc(100vh - 11rem); max-height: calc(100dvh - 11rem); }
  .t-brand { font-size: 1.6rem; }
  .bands { left: -20%; width: 140%; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .band-track, .foot-track { animation: none !important; }
  .shape { transform: rotate(var(--pr, 0deg)); }
  .ticket { opacity: 1; translate: 0 0; }
}

/* Positionnement */
.hero-role { margin-top: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(.8rem, 1.6vw, 1.05rem); background: var(--ink); color: var(--cream); padding: .45em 1em; border-radius: 999px; }
.hero-role + .hero-sub { margin-top: 1rem; }
.skills { display: grid; gap: .35rem; margin-bottom: 1.6rem; max-width: 56ch; }
.skills li { padding-left: 1.4em; position: relative; }
.skills li::before { content: '\2605'; position: absolute; left: 0; color: var(--red); }
.clients { font-size: .85rem; line-height: 1.8; margin-bottom: 1.6rem; border: 1px dashed var(--ink); padding: .7rem 1rem; max-width: 56ch; }

.pre-logo { height: clamp(70px, 14vw, 130px); width: auto; margin: 0 auto 1rem; display: block; animation: logo-wobble 1.6s ease-in-out infinite alternate; }
.foot-logo { height: 44px; width: auto; }
@media (prefers-reduced-motion: reduce) { .brand-logo, .pre-logo, .art-logo { animation: none !important; transition: none !important; } .brand:hover .brand-logo { transform: none; } }

/* ---------- Médias : cartes vidéo / lien, lightbox ---------- */
.card .card-media { position: relative; overflow: hidden; background: #eee8da; width: 100%; }
.card .card-media img, .card .card-media video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.card.png .card-media { background: repeating-conic-gradient(#ece6d8 0 25%, #f6f1e6 0 50%) 0 0 / 14px 14px; }
.card .badge {
  position: absolute; right: -10px; top: -12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 3px;
  background: var(--yellow); color: var(--ink); border: 2px solid var(--ink);
  font-size: 1rem; box-shadow: 2px 3px 0 var(--ink);
  transform: rotate(8deg); pointer-events: none;
}
.card .plat { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: var(--ink); color: var(--cream); font-size: .62rem; font-weight: 700; letter-spacing: .1em; padding: .15em .6em; border-radius: 999px; pointer-events: none; }
.card .ph { display: grid; place-content: center; text-align: center; gap: .4rem; background: var(--blue); color: var(--cream); background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(255,255,255,.06) 10px 20px); }
.card .ph-name { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.card .ph-sub { font-size: .65rem; letter-spacing: .08em; opacity: .85; padding-inline: .6rem; }
.lb-media { display: grid; place-items: center; min-width: 0; max-width: 100%; }
.lb-media img, .lb-media video { max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb-media img { background: var(--paper); border: 6px solid var(--paper); }
.lb-embed { aspect-ratio: var(--ar, 16 / 9); width: min(92vw, 1400px, calc((100vh - 9rem) * var(--arn, 1.7778))); width: min(92vw, 1400px, calc((100dvh - 9rem) * var(--arn, 1.7778))); background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb-fig figcaption a { color: var(--yellow); }
@media (max-width: 600px) { .lb-media img, .lb-media video { max-height: calc(100dvh - 11rem); } .lb-embed { width: min(92vw, calc((100dvh - 11rem) * var(--arn, 1.7778))); } }

/* Badge RECETTE : affiché uniquement en local (voir main.js) */
.recette-badge { position: fixed; left: 14px; bottom: 14px; z-index: 9100; font-family: var(--f-mono); font-weight: 700; font-size: .72rem; letter-spacing: .14em; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .35em .9em; box-shadow: 2px 3px 0 var(--ink); transform: rotate(-4deg); pointer-events: none; }
.recette-badge[hidden] { display: none; }
