/* =========================================================
   EMERGENCE studio — feuille de style
   ---------------------------------------------------------
   Couleur ADN : #068FF3 (bleu du studio).
   Points de rupture : 1180px (tablette paysage / petit portable),
   900px (tablette portrait), 600px (smartphone), 380px (petit smartphone).
   Les effets de survol ne s'appliquent qu'aux appareils à souris
   (@media (hover: hover)) pour éviter les états « collés » au toucher.
   ========================================================= */

/* ---------------------------------------------------------
   1. Variables
   --------------------------------------------------------- */
:root {
  --blue:  #068FF3;   /* ADN du studio */
  --ice:   #C9E6FC;   /* bleu clair du site actuel */
  --yel:   #FFE14D;   /* une seule touche d'accent */
  --ink:   #0E0F12;
  --paper: #F4F2ED;
  --white: #FFFFFF;
  --muted: #5E6168;
  --line:  rgba(14, 15, 18, .14);

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --pad: clamp(18px, 3.4vw, 56px);
  --bar-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 1px rgba(14,15,18,.06), 0 22px 32px -22px rgba(14,15,18,.45);
  --shadow-up: 0 2px 2px rgba(14,15,18,.06), 0 36px 50px -24px rgba(14,15,18,.5);
}

/* ---------------------------------------------------------
   2. Base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: var(--bar-h);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;   /* iOS : pas de grossissement en paysage */
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }   /* iOS : aucun glissement latéral */
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------------------------------------------------------
   3. Polices par style de danse (tailles harmonisées via --s)
   --------------------------------------------------------- */
.st-hiphop { font-family: "Permanent Marker", cursive; --s: 1; letter-spacing: 0; }
.st-salsa  { font-family: "Shrikhand", cursive; --s: .9; letter-spacing: 0; }
.st-ragga  { font-family: "Bungee", sans-serif; --s: .74; letter-spacing: .01em; }
.st-latino { font-family: "Yellowtail", cursive; --s: 1.18; letter-spacing: 0; }
.st-heels  { font-family: "Bodoni Moda", serif; font-style: italic; font-weight: 700; --s: 1.02; letter-spacing: -.02em; }
.st-sans   { font-family: var(--f); font-style: italic; font-weight: 900; font-variation-settings: "wdth" 125; --s: .82; letter-spacing: -.05em; }
.st-light  { font-family: var(--f); font-weight: 200; font-variation-settings: "wdth" 125; --s: .62; letter-spacing: -.04em; }

/* ---------------------------------------------------------
   4. Éléments communs
   --------------------------------------------------------- */
/* photos tramées dans le bleu du studio */
.halftone { position: relative; overflow: hidden; background: var(--blue); isolation: isolate; }
.halftone img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.9) contrast(1.75); mix-blend-mode: screen; }
.halftone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(14,15,18,.2) .9px, transparent 1.3px);
  background-size: 4px 4px; mix-blend-mode: multiply;
}

/* logo en grille EME / RGE / NCE */
.mark {
  display: grid; grid-template-columns: repeat(3, 1fr); place-items: center; flex: none;
  width: 44px; aspect-ratio: 1; padding: 3px;
  border: 1px solid currentColor;
  font-family: "Josefin Sans", sans-serif; font-weight: 300; font-size: 11.5px; line-height: 1;
}
.mark--big { width: 88px; font-size: 21px; padding: 7px; }

/* étiquette de section */
.kicker { display: flex; align-items: center; margin: 0 0 1rem; font-size: 14px; font-weight: 700; color: var(--blue); }
.kicker--light { color: var(--ice); }
.kicker--center { justify-content: center; }

.h2 { font-size: clamp(2.2rem, 5.2vw, 5rem); line-height: .96; letter-spacing: -.045em; font-weight: 800; }

.sec { position: relative; padding: clamp(80px, 12vw, 176px) var(--pad); }
.sec__head { display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 4rem; align-items: end; margin-bottom: clamp(40px, 6vw, 84px); }
.sec__head .kicker { grid-column: 1 / -1; }
.sec__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.6rem 2rem; flex-wrap: wrap; }
.sec__intro { margin: 0; max-width: 40ch; font-size: 1.08rem; color: var(--muted); }

.todo { margin: 2rem 0 0; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.todo::before { content: "● "; color: var(--yel); }
.todo--light { color: rgba(255,255,255,.75); text-align: center; }

/* liens soulignés */
.link {
  display: inline-block; padding: 4px 0; margin-bottom: 6px; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }

/* boutons pilule */
.pill { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 14px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: background .3s, color .3s, box-shadow .3s; }
.pill--blue { background: var(--blue); color: var(--white); }
.pill--line { box-shadow: inset 0 0 0 1px var(--ink); }

/* croix de marquage au sol */
.spike { position: relative; display: inline-block; flex: none; width: 12px; height: 12px; }
.spike::before, .spike::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 3px; border-radius: 1px;
  background: var(--blue); translate: -50% -50%; rotate: 45deg;
}
.spike::after { rotate: -45deg; }
.spike--light::before, .spike--light::after { background: var(--white); }

/* notes écrites à la main */
.hand {
  position: relative; display: inline-block; margin: 0;
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.02;
  color: var(--blue); rotate: -4deg;
}
.hand--light { color: var(--white); }
.hand__arrow { position: absolute; width: 52px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* scotch & punaises */
.tape {
  position: absolute; z-index: 3; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; rotate: -4deg;
  background: rgba(255, 255, 255, .55); box-shadow: 0 1px 2px rgba(14,15,18,.1);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0);
          mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0);
}
.pin {
  position: absolute; z-index: 3; top: 10px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7cc4ff, var(--blue) 55%, #0567b0);
  box-shadow: 0 3px 3px rgba(14,15,18,.3);
}

/* polaroïds (photos en couleur) */
.polaroid { position: relative; display: block; margin: 0; padding: 12px 12px 0; background: var(--white); box-shadow: var(--shadow); rotate: 2.5deg; }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.polaroid figcaption, .polaroid__cap {
  display: block; padding: 10px 4px 14px; text-align: center;
  font-family: var(--hand); font-weight: 500; font-size: 1.45rem; line-height: 1.05; color: var(--ink);
}
.polaroid--big { width: min(440px, 100%); justify-self: center; rotate: 3deg; }
.polaroid--big .tape { background: rgba(201, 230, 252, .75); }

/* barre de danse (séparateur) */
.barre { position: relative; z-index: 1; margin: -20px 0; padding: 0 var(--pad); }
.barre span {
  display: block; position: relative; height: 7px; border-radius: 4px;
  background: linear-gradient(180deg, #D9C4A3, #B99A6E 60%, #A5875C);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 10px -6px rgba(0,0,0,.35);
}
.barre span::before, .barre span::after {
  content: ""; position: absolute; top: 4px; width: 6px; height: 26px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #9EA2A8, #D4D7DB 45%, #8F9399);
}
.barre span::before { left: 14%; }
.barre span::after { right: 14%; }

/* pulsation sur la grosse caisse */
.beat { transition: scale .14s var(--ease); }
body.hit .beat { scale: 1.05; }

/* ---------------------------------------------------------
   5. Rideau entre les pages & décompte d'ouverture
   --------------------------------------------------------- */
.curtain {
  position: fixed; inset: 0; z-index: 95; pointer-events: none;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white);
  transform: translateY(-101%);
  transition: transform .55s cubic-bezier(.7, 0, .2, 1);
}
.curtain .mark { width: 64px; font-size: 16px; opacity: .9; }
/* le rideau se lève tout seul après 1,5 s même si le script tarde (connexion lente) */
html.js .curtain.cover { transform: none; transition: none; animation: curtain-safety .01s 1.5s forwards; }
@keyframes curtain-safety { to { transform: translateY(-101%); } }
.curtain.drop { transform: none; pointer-events: auto; animation: none; }

.intro { display: none; }
.intro.run {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--blue); color: var(--white); cursor: pointer;
  transition: transform .9s var(--ease);
}
.intro span {
  grid-area: 1 / 1; opacity: 0; line-height: 1;
  font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -.06em;
  font-size: clamp(9rem, 32vw, 28rem);
}
.intro span.on { animation: count .36s ease-out forwards; }
@keyframes count { 0% { opacity: 0; scale: .78; } 25% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.18; } }
.intro.done { transform: translateY(-100%); }

/* ---------------------------------------------------------
   6. Barre de navigation
   --------------------------------------------------------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; gap: 2.4rem;
  padding: 16px var(--pad); color: var(--white);
  transition: background .4s, padding .4s, color .4s;
}
.bar.solid {
  background: rgba(244, 242, 237, .92); color: var(--ink); padding-block: 10px; box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
/* fil de progression */
.bar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0));
  opacity: 0; transition: opacity .4s;
}
.bar.solid::after { opacity: 1; }

.bar__nav { display: flex; gap: 1.9rem; margin-left: auto; font-size: 14px; font-weight: 500; }
.bar__nav a { position: relative; padding: 6px 0; }
.bar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.bar__nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar__cta {
  flex: none; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  background: var(--white); color: var(--blue); transition: background .3s, color .3s;
}
.bar.solid .bar__cta { background: var(--blue); color: var(--white); }
.bar__burger { display: none; flex: none; position: relative; width: 44px; height: 44px; margin-right: -6px; }
.bar__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.bar__burger span:first-child { top: 18px; }
.bar__burger span:last-child { top: 25px; }

/* ---------------------------------------------------------
   7. Accueil — haut de page
   --------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 96px var(--pad) clamp(28px, 4vw, 48px);
  background: var(--blue); color: var(--white);
}
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
.hero__photo img { object-position: 55% 25%; transition: filter .14s; }
.hero__photo::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, var(--blue) 2%, rgba(6,143,243,0) 50%); }
body.hit .hero__photo img { filter: grayscale(1) brightness(1) contrast(1.75); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.9) contrast(1.75); mix-blend-mode: screen; }

.hero__meta {
  position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 1rem;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,.35);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; opacity: .9;
}
.hero__h1 { position: relative; z-index: 3; align-self: center; line-height: 1; margin: 24px 0; }
.hero__pre, .hero__post { display: block; font-size: clamp(1.5rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: -.03em; }
.hero__post { font-weight: 800; }
/* le mot qui change : la hauteur suit la taille du texte */
.swap {
  display: block; position: relative; overflow: hidden;
  font-size: clamp(4.6rem, 15.5vw, 16rem);
  height: 1.1em; margin: .02em 0 .06em;
}
.swap__word {
  position: absolute; left: -.02em; bottom: .12em; line-height: 1; white-space: nowrap;
  font-size: calc(1em * var(--s, 1));
  animation: rise .9s var(--ease) both;
}
.swap__word.is-out { animation: fall .45s cubic-bezier(.7,0,.84,0) both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fall { to { transform: translateY(-105%); } }

/* lecteur de musique */
.deck {
  position: relative; z-index: 4; justify-self: start;
  display: flex; align-items: center; gap: 18px; max-width: 100%;
  padding: 10px 22px 10px 10px; border-radius: 999px;
  background: rgba(14, 15, 18, .16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.deck__play { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--blue); transition: transform .3s var(--ease); }
.deck__play svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: currentColor; transition: opacity .2s, transform .3s var(--ease); }
.i-stop { opacity: 0; transform: scale(.5); }
.deck__play[aria-pressed="true"] .i-play { opacity: 0; transform: scale(.5); }
.deck__play[aria-pressed="true"] .i-stop { opacity: 1; transform: none; }
.deck__info { display: grid; min-width: 110px; line-height: 1.15; }
.deck__label { font-size: 12px; opacity: .8; }
.deck__style { font-size: 14px; font-weight: 700; }
.deck__beats { display: flex; gap: 14px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.28); }
.deck__beats button { padding: 8px 0; font-size: 13px; font-weight: 500; opacity: .65; border-bottom: 1px solid transparent; transition: opacity .2s; }
.deck__beats button.is-on { opacity: 1; border-bottom-color: currentColor; }

/* pastille « 1er cours offert » */
.badge {
  position: absolute; z-index: 5; right: clamp(20px, 6vw, 96px); top: clamp(110px, 20vh, 190px);
  width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1;
  background: var(--yel); color: var(--ink); rotate: -10deg;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: rotate .5s var(--ease), scale .14s var(--ease);
}
.badge > span { line-height: 1.2; }
.badge b { margin: 2px 0 4px; font-family: "Shrikhand", cursive; font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: 0; text-transform: none; color: var(--blue); }

/* note manuscrite du haut de page */
.hand--hero { position: absolute; z-index: 4; right: clamp(24px, 30vw, 460px); top: 28%; color: var(--white); rotate: -6deg; text-align: right; }
.hand--hero .hand__arrow { right: -58px; top: 18px; rotate: 10deg; }

/* ---------------------------------------------------------
   8. Ruban des styles (plateau de scène)
   --------------------------------------------------------- */
.ribbon {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.08);
  background: var(--ink); color: var(--white);
  --mx: 50%; --my: 50%;
}
.ribbon::before { /* bords en fondu */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--ink), rgba(14,15,18,0) 8%, rgba(14,15,18,0) 92%, var(--ink));
}
.ribbon::after { /* nez de scène : s'allume quand la musique joue */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
.ribbon.is-live::after { transform: scaleX(1); }
.ribbon__track { display: flex; width: max-content; animation: ribbon var(--dur, 60s) linear infinite; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.ribbon__set { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.8rem); padding-right: clamp(1.4rem, 3vw, 2.8rem); }
.ribbon__set > button, .ribbon__set > span {
  padding: 8px 0; white-space: nowrap; line-height: 1.1;
  font-size: calc(clamp(1.7rem, 3.2vw, 2.6rem) * var(--s, 1));
  color: rgba(255,255,255,.42);
  transition: color .35s, scale .14s var(--ease), translate .5s var(--ease);
}
.ribbon__set > button.is-on { color: var(--blue); }
body.hit .ribbon__set > button.is-on { scale: 1.08; }
.ribbon__set > span { color: rgba(255,255,255,.3); cursor: default; }
.ribbon .spike { opacity: .35; }
.ribbon__light { /* projecteur qui suit la souris */
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(260px 140px at var(--mx) var(--my), rgba(6,143,243,.38), transparent 70%);
}
.ribbon__hint {
  position: absolute; right: var(--pad); bottom: 8px; z-index: 3;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4);
  opacity: 0; transition: opacity .4s;
}

/* ---------------------------------------------------------
   9. Accueil — bienvenue & tableau d'affichage
   --------------------------------------------------------- */
.welcome { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.welcome__txt { max-width: 56ch; }
.welcome__txt .h2 { margin-bottom: 1.8rem; }
.welcome__txt p:not(.kicker):not(.welcome__sign) { font-size: 1.14rem; line-height: 1.65; color: #2B2E34; }
.welcome__sign { margin: 1.6rem 0 0; font-family: var(--hand); font-weight: 700; font-size: 2rem; color: var(--blue); rotate: -3deg; }

.board {
  background-color: var(--ice);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.02 0 0 0 0 0.35 0 0 0 0 0.6 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.board__head { margin-bottom: clamp(40px, 5vw, 70px); }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 4vw, 56px) clamp(22px, 3vw, 44px); align-items: start; }
.pin-item {
  position: relative; display: block; color: var(--ink); box-shadow: var(--shadow);
  transition: rotate .6s var(--ease), scale .6s var(--ease), box-shadow .6s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease);
}
.wall > :nth-child(1) { rotate: -1.8deg; }
.wall > :nth-child(2) { rotate: 1.6deg;  margin-top: 18px; }
.wall > :nth-child(3) { rotate: 4deg;    margin-top: 40px; }
.wall > :nth-child(4) { rotate: -3deg;   margin-top: 6px; }
.wall > :nth-child(5) { rotate: 1.2deg; }
.wall > :nth-child(6) { rotate: -5deg;   margin-top: 30px; }
.wall > :nth-child(7) { rotate: 2.4deg;  margin-top: -10px; }
.wall > :nth-child(8) { rotate: -2deg;   margin-top: 44px; }

/* planning imprimé */
.sheet { grid-column: span 2; padding: 30px 24px 22px; background: var(--white); font-size: 13px; }
.sheet__title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.sheet__title small { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.sheet__rows { display: block; margin: 6px 0 14px; }
.sheet__row { display: grid; grid-template-columns: 2.6rem 1fr; gap: 6px; padding: 7px 0; border-bottom: 1px dotted rgba(14,15,18,.3); line-height: 1.35; }
.sheet__row b { font-weight: 700; }
.sheet__row.is-today span { background: linear-gradient(transparent 55%, rgba(255, 225, 77, .85) 55%, rgba(255, 225, 77, .85) 90%, transparent 90%); }
.sheet__more { color: var(--blue); font-weight: 600; }

/* affiche du show */
.poster { aspect-ratio: 3 / 4; color: var(--white); }
.poster img { position: absolute; inset: 0; }
.poster::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--blue) 18%, rgba(6,143,243,0) 60%); }
.poster__txt { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: grid; }
.poster__k { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.poster__t { margin: 4px 0 6px; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -.06em; line-height: .9; }
.poster__d { font-size: 13px; }
.poster__j { position: absolute; z-index: 2; top: 14px; right: 12px; }
.poster__j b { display: inline-block; padding: 4px 10px 3px; border-radius: 999px; background: var(--yel); color: var(--ink); font-weight: 800; font-size: 13px; rotate: 6deg; }

/* post-it */
.postit {
  aspect-ratio: 1; width: min(100%, 220px); justify-self: center; padding: 22px 20px; overflow: hidden;
  font-family: var(--hand); font-weight: 700; font-size: 1.65rem; line-height: 1.05;
  box-shadow: 0 1px 1px rgba(14,15,18,.05), 0 16px 20px -14px rgba(14,15,18,.4);
}
.postit small { display: block; margin-top: .5rem; font-size: 1.15rem; font-weight: 500; line-height: 1.1; }
.postit--yel { background: #FFE97A; }
.postit--ice { background: #BFE0FB; }
.postit--white { background: #FFFDF6; }

/* flyer à languettes */
.flyer { padding: 26px 22px 0; background: var(--white); overflow: hidden; }
.flyer__t { display: block; margin-bottom: .6rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.flyer__d { display: block; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.flyer__tabs { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 -22px; border-top: 1px dashed rgba(14,15,18,.35); }
.flyer__tabs i {
  display: grid; place-items: center; height: 100px; padding: 10px 0; overflow: hidden;
  font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  writing-mode: vertical-rl; transform: rotate(180deg);
  border-right: 1px dashed rgba(14,15,18,.35);
}
.flyer__tabs i:first-child { border-right: 0; }
.flyer__tabs i.gone { color: transparent; background: var(--ice); border-color: transparent; }

/* ---------------------------------------------------------
   10. En-tête des pages intérieures
   --------------------------------------------------------- */
.phero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(68vh, 640px);
  padding: clamp(130px, 18vh, 190px) var(--pad) clamp(48px, 7vw, 90px);
  background: var(--blue); color: var(--white);
}
.phero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -1; }
.phero__photo img { object-position: 55% 30%; }
.phero__photo::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, var(--blue) 2%, rgba(6,143,243,0) 55%); }
.phero__crumb { display: flex; align-items: center; gap: 12px; margin-bottom: 1.8rem; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.phero__crumb a { padding: 8px 0; opacity: .75; }
.phero__title { margin-bottom: max(2rem, .3em); font-size: clamp(3rem, 10vw, 9.6rem); line-height: .95; letter-spacing: -.05em; font-weight: 800; }
.phero__title em { margin-right: .08em; font-style: normal; letter-spacing: 0; font-size: calc(1em * var(--s, 1)); }
.phero__lead { max-width: 46ch; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); opacity: .92; }
.phero__tag { display: inline-flex; align-items: center; gap: .7em; margin: 1.4rem 0 0; font-size: 14px; }
.phero__tag b { padding: 4px 11px 3px; border-radius: 999px; background: var(--white); color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; }

/* le reflet « miroir » sous les grands titres — grands écrans seulement */
@media (min-width: 901px) {
  .hero__h1 { -webkit-box-reflect: below 6px linear-gradient(transparent 72%, rgba(255,255,255,.16)); }
  .phero__title { -webkit-box-reflect: below 4px linear-gradient(transparent 70%, rgba(255,255,255,.14)); }
}

/* ---------------------------------------------------------
   11. Cours — le mur d'affiches
   --------------------------------------------------------- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 2.4vw, 34px) clamp(14px, 2vw, 28px);
  padding: 10px 6px 40px;
}
.card {
  position: relative; isolation: isolate; cursor: pointer;
  display: flex; flex-direction: column;
  aspect-ratio: 4 / 5; padding: 22px 22px 24px; border-radius: 3px;
  box-shadow: 0 1px 1px rgba(14,15,18,.05), 0 22px 34px -22px rgba(14,15,18,.4);
  transition: rotate .7s var(--ease), translate .7s var(--ease), scale .7s var(--ease), box-shadow .7s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease);
}
.card:nth-child(1) { rotate: -2.2deg; }
.card:nth-child(2) { rotate: 1.6deg;  translate: 0 34px; }
.card:nth-child(3) { rotate: -.8deg;  translate: 0 8px; }
.card:nth-child(4) { rotate: 2.4deg;  translate: 0 42px; }
.card:nth-child(5) { rotate: 1.2deg;  translate: 0 -6px; }
.card:nth-child(6) { rotate: -1.8deg; translate: 0 26px; }
.card:nth-child(7) { rotate: 2deg;    translate: 0 4px; }
.card:nth-child(8) { rotate: -1.4deg; translate: 0 36px; }
.card.is-playing { rotate: 0deg; scale: 1.03; z-index: 3; box-shadow: var(--shadow-up); }
body.hit .card.is-playing { scale: 1.045; transition-duration: .12s; }
.card:nth-child(odd)::before { /* scotch translucide */
  content: ""; position: absolute; z-index: 4; top: -11px; left: 50%;
  width: 86px; height: 24px; margin-left: -43px; rotate: -3deg;
  background: rgba(201, 230, 252, .62); box-shadow: 0 1px 2px rgba(14,15,18,.08);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0);
          mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0);
}
.card:nth-child(4n+3)::before { rotate: 4deg; left: 30%; }
.card__img {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; border-radius: 3px;
  filter: grayscale(1) contrast(1.3); mix-blend-mode: luminosity;
  opacity: 0; transition: opacity .6s var(--ease);
}
.card.is-playing .card__img { opacity: .28; }
.card__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.card__play, .card__silence {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px 7px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.card__silence { box-shadow: none; opacity: .6; padding-left: 0; }
.card__play i { width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.card.is-playing .card__play i { width: 7px; height: 9px; border: 0; background: linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px, currentColor 5px); }
.card h3 { margin: auto 0 18px; font-size: calc(clamp(2.4rem, 4.8vw, 4.6rem) * var(--s, 1)); line-height: .95; overflow-wrap: anywhere; transition: transform .6s var(--ease); }
.card__txt { margin: 0; padding-top: 14px; border-top: 1px solid rgba(128,128,128,.35); font-size: 14px; line-height: 1.4; }
.card__txt span { font-size: 13px; opacity: .65; }

.card--ink   { background: var(--ink); color: var(--white); }
.card--ink .st-heels { color: var(--ice); }
.card--blue  { background: var(--blue); color: var(--white); }
.card--paper { background: var(--white); color: var(--ink); }
.card--paper .st-sans { color: var(--blue); }
.card--ice   { background: var(--ice); color: var(--ink); }
.card--ice h3 { color: var(--blue); }
.card--ink.is-playing .card__play   { background: var(--white); color: var(--ink); box-shadow: none; }
.card--blue.is-playing .card__play  { background: var(--white); color: var(--blue); box-shadow: none; }
.card--paper.is-playing .card__play { background: var(--ink); color: var(--white); box-shadow: none; }
.card--ice.is-playing .card__play   { background: var(--blue); color: var(--white); box-shadow: none; }

.hand--cards { margin: 2.6rem 0 0 8%; }
.hand--cards .hand__arrow { left: -58px; top: -30px; rotate: -150deg; scale: -1 1; }

/* ---------------------------------------------------------
   12. Cours — quiz
   --------------------------------------------------------- */
.quiz__box { position: relative; max-width: 1180px; padding: clamp(22px, 4vw, 56px); border-radius: 4px; background: var(--white); box-shadow: 0 1px 1px rgba(14,15,18,.05), 0 30px 60px -40px rgba(14,15,18,.45); }
.quiz__progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; }
.quiz__progress li { padding-top: 10px; border-top: 2px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s, border-color .3s; }
.quiz__progress li.is-on, .quiz__progress li.is-done { color: var(--ink); border-color: var(--blue); }
.quiz__step { display: none; }
.quiz__step.is-on { display: block; animation: quiz-in .6s var(--ease); }
@keyframes quiz-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quiz__q { margin-bottom: 1.6rem; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.quiz__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.quiz__opts--3 { grid-template-columns: repeat(3, 1fr); }
.quiz__opts button {
  display: grid; gap: 6px; padding: 22px 20px; border-radius: 4px; text-align: left;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, background .3s, color .3s, translate .4s var(--ease);
}
.quiz__opts button.is-picked { background: var(--blue); color: var(--white); box-shadow: none; }
.quiz__opts b { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.quiz__opts span { font-size: 13px; color: var(--muted); }
.quiz__opts button.is-picked span { color: rgba(255,255,255,.8); }
.quiz__back { position: absolute; top: clamp(22px, 4vw, 56px); right: clamp(22px, 4vw, 56px); padding: 8px 0; font-size: 13px; color: var(--muted); }
.quiz__recos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 2rem; }
.reco { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 22px; border-radius: 3px; background: var(--paper); }
.reco:nth-child(1) { background: var(--ink); color: var(--white); rotate: -1deg; }
.reco:nth-child(2) { rotate: .8deg; }
.reco:nth-child(3) { rotate: -.5deg; }
.reco__tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.reco:nth-child(1) .reco__tag { color: var(--yel); }
.reco h4 { margin: auto 0 0; font-size: calc(2.8rem * var(--s, 1)); line-height: 1; font-weight: inherit; color: var(--blue); }
.reco:nth-child(1) h4 { color: var(--white); }
.reco__when { margin: 0; font-size: 13px; opacity: .75; font-variant-numeric: tabular-nums; }
.reco__why { margin: 0; font-size: 14px; opacity: .8; }
.reco__play { align-self: flex-start; padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.reco__play.is-on { background: var(--blue); color: var(--white); box-shadow: none; }
.quiz__end { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------
   13. Le studio & les profs
   --------------------------------------------------------- */
.studio { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; background: var(--ink); color: var(--white); }
.studio__photo { aspect-ratio: 4 / 5; border-radius: 4px; }
.studio__big { margin-bottom: 1.6rem; font-size: clamp(1.7rem, 3.3vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.studio__big em { font-style: normal; font-size: 1.04em; letter-spacing: 0; color: var(--blue); }
.studio__p { max-width: 48ch; color: rgba(255,255,255,.7); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2.6rem 0 2rem; border-top: 1px solid rgba(255,255,255,.18); }
.facts div { padding: 18px 16px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }
.facts dt { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.facts dt small { margin-left: .2em; font-size: .38em; font-weight: 500; letter-spacing: 0; color: var(--ice); }
.facts dd { margin: 6px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.values li::before { content: ""; display: inline-block; width: 10px; height: 3px; margin-right: .9em; border-radius: 1px; background: var(--blue); rotate: 45deg; vertical-align: middle; }
.studio__quote { max-width: 44ch; margin: 2.2rem 0 0; padding-left: 18px; border-left: 2px solid var(--blue); font-size: 15px; font-style: italic; color: rgba(255,255,255,.7); }
.studio__quote cite { display: block; margin-top: .5rem; font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 3.4vw, 52px) clamp(18px, 2.6vw, 38px); max-width: 1180px; margin: 0 auto; }
.prof {
  position: relative; padding: 12px 12px 16px; background: var(--white); box-shadow: var(--shadow);
  transition: rotate .6s var(--ease), scale .6s var(--ease), box-shadow .6s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease);
}
.prof:nth-child(3n+1) { rotate: -1.8deg; }
.prof:nth-child(3n+2) { rotate: 1.3deg; translate: 0 26px; }
.prof:nth-child(3n)   { rotate: -.7deg; translate: 0 8px; }
.prof:nth-child(even) .tape { display: none; }
.prof__photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--ice); }
/* le prénom est déjà écrit sur la photo : on le garde pour Google et les lecteurs d'écran */
.prof__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prof__styles { margin: 12px 4px 0; text-align: center; font-family: var(--hand); font-weight: 500; font-size: 1.4rem; line-height: 1.1; color: var(--ink); }
.hand--team { display: block; width: max-content; max-width: 100%; margin: clamp(48px, 5vw, 70px) auto 0; rotate: -3deg; }

/* ---------------------------------------------------------
   14. Horaires & tarifs
   --------------------------------------------------------- */
.lineup { text-align: center; background: var(--blue); color: var(--white); }
.lineup__title { margin: .12em 0 .18em; font-size: clamp(3.2rem, 14vw, 14rem); line-height: .82; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -.06em; }
.lineup__sub { margin-bottom: clamp(40px, 6vw, 84px); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.hand--planning { display: block; width: max-content; max-width: 100%; margin: -.2em auto 1.4rem; rotate: -3deg; }
.hand--planning .hand__arrow { display: none; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 64px); max-width: 1200px; margin: 0 auto; text-align: left; }
.day { position: relative; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.4); }
.day h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }
.day p { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.day b { font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; }
.day time { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ice); white-space: nowrap; }
.day.is-today h3 { color: var(--white); }
.day.is-today h3::after { content: "Aujourd'hui"; padding: 4px 9px 3px; border-radius: 999px; background: var(--yel); color: var(--ink); font-size: 10px; letter-spacing: .14em; }
.day.is-today::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--white); }

.period { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.period button { position: relative; z-index: 1; min-height: 40px; padding: 10px 22px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s; }
.period button.is-on { color: var(--white); }
.period__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--blue); transition: transform .5s var(--ease); }
.period.is-an .period__pill { transform: translateX(100%); }

.bands { display: grid; gap: 8px; }
.band {
  display: grid; grid-template-columns: minmax(180px, 280px) 1fr auto; align-items: center; gap: 1rem 2rem;
  min-height: 92px; padding: 20px 34px; border-radius: 999px;
  transition: translate .5s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease);
}
.band__name b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.band__name small { font-size: 13px; opacity: .7; }
.band ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 2rem; grid-column: span 2; margin: 0; padding: 0; }
.band li { display: flex; align-items: baseline; gap: .5em; }
.band li span { font-size: 12px; opacity: .7; }
.band li b { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.band__note { margin: 0; font-size: 14px; opacity: .75; }
.band__price { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.band--ice  { background: var(--ice); }
.band--blue { background: var(--blue); color: var(--white); }
.band--ink  { background: var(--ink); color: var(--white); }
.band--yel  { background: var(--yel); }
.band--line { box-shadow: inset 0 0 0 1px var(--ink); }
.band--line .band__price { color: var(--blue); }
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pay span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }

/* ---------------------------------------------------------
   15. Ticket d'essai
   --------------------------------------------------------- */
.ticketz { display: grid; place-items: center; perspective: 1200px; }
.ticket { display: grid; grid-template-columns: 1fr 260px; width: min(1080px, 100%); rotate: -1.5deg; filter: drop-shadow(0 30px 40px rgba(6, 60, 120, .18)); }
.ticket.rv.in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), opacity .9s var(--ease); }
.ticket__main, .ticket__stub { --r: 16px; }
.ticket__main {
  padding: clamp(26px, 4vw, 56px); background: var(--blue); color: var(--white);
  -webkit-mask: radial-gradient(circle at 100% 0, transparent var(--r), #000 calc(var(--r) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent var(--r), #000 calc(var(--r) + .5px)) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 100% 0, transparent var(--r), #000 calc(var(--r) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent var(--r), #000 calc(var(--r) + .5px)) bottom / 100% 51% no-repeat;
}
.ticket__stub {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 28px; background: var(--white); border-left: 2px dashed var(--ice);
  -webkit-mask: radial-gradient(circle at 0 0, transparent var(--r), #000 calc(var(--r) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent var(--r), #000 calc(var(--r) + .5px)) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 0 0, transparent var(--r), #000 calc(var(--r) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent var(--r), #000 calc(var(--r) + .5px)) bottom / 100% 51% no-repeat;
}
.ticket__top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: clamp(24px, 3vw, 40px); padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.ticket__big { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 5.4vw, 5.2rem); font-weight: 800; letter-spacing: -.045em; line-height: .96; }
.ticket__big em { font-style: normal; font-size: .92em; letter-spacing: 0; }
.ticket__info { margin: 0; font-size: 14px; opacity: .85; }
.barcode { display: block; height: 64px; 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 13px, var(--ink) 13px 14px, transparent 14px 17px); }
.ticket__tel { font-size: 1.6rem; font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.03em; white-space: nowrap; }
.ticket__btn { display: block; padding: 15px; border-radius: 999px; background: var(--ink); color: var(--white); text-align: center; font-weight: 600; font-size: 14px; transition: background .3s; }

/* ---------------------------------------------------------
   16. La saison
   --------------------------------------------------------- */
.show { display: grid; grid-template-columns: 1.15fr 1fr; }
.show__poster { min-height: 92vh; }
.show__poster img { position: absolute; inset: 0; }
.show__poster::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, var(--blue) 12%, rgba(6,143,243,0) 55%); }
.show__over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; padding: clamp(22px, 4vw, 56px); color: var(--white); }
.show__k { margin-bottom: .6rem; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.show__title { margin-bottom: 1.2rem; font-size: clamp(3.6rem, 10vw, 10rem); line-height: .82; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -.06em; }
.show__date { font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.show__where { font-size: 15px; opacity: .85; }
.countdown { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .7em; margin-top: 1.2rem; font-size: 14px; }
.countdown b { padding: 5px 12px 4px; border-radius: 999px; background: var(--white); color: var(--blue); font-weight: 800; font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; }
.seal {
  position: absolute; z-index: 4; top: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px);
  display: grid; place-content: center; width: 112px; height: 112px; border-radius: 50%;
  background: var(--yel); color: var(--ink); text-align: center; line-height: .8; rotate: 10deg;
  font-size: 50px; font-weight: 900; font-variation-settings: "wdth" 112; letter-spacing: -.05em;
}
.seal small { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

.tour { align-self: center; padding: clamp(56px, 8vw, 120px) var(--pad); }
.tour .h2 { margin-bottom: 2.4rem; }
.hand--frigo { display: block; width: max-content; max-width: 100%; margin: -1.4rem 0 1.8rem 40%; rotate: -3deg; }
.hand--frigo .hand__arrow { display: none; }
.tour ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.tour li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease); }
.tour time { font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 112; }
.tour b { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.tour span { font-size: 14px; color: var(--muted); }
.closed { margin-top: 1.4rem; font-size: 14px; color: var(--muted); }
.closed summary { padding: 10px 0; cursor: pointer; list-style: none; color: var(--ink); font-weight: 600; }
.closed summary::-webkit-details-marker { display: none; }
.closed summary::after { content: " +"; color: var(--blue); }
.closed[open] summary::after { content: " –"; }
.closed p { margin: .4rem 0 0; }

/* ---------------------------------------------------------
   17. Contact
   --------------------------------------------------------- */
.firstclass { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.firstclass__head { position: relative; }
.hand--faq { display: block; width: max-content; max-width: 100%; margin: 1.4rem 0 0 1.2rem; rotate: -3deg; }
.hand--faq .hand__arrow { display: none; }
.faq details { padding: 16px 0; border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 32px; cursor: pointer; list-style: none; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--blue); font-weight: 400; font-size: 1.6rem; line-height: 1; transition: rotate .4s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { max-width: 60ch; margin: .8rem 0 0; color: #3A3D43; }

.family { background: var(--blue); color: var(--white); }
.family .kicker { margin-bottom: 1.4rem; }
.family__title { padding-top: .1em; }
.family__title { margin-bottom: clamp(44px, 6vw, 90px); font-size: clamp(2.8rem, 8.4vw, 8.4rem); line-height: .92; font-weight: 800; letter-spacing: -.05em; }
.family__title em { font-style: normal; font-size: 1.02em; letter-spacing: 0; color: var(--ink); }
.family__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.45); }
.family h3 { margin-bottom: 1rem; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.family__grid p { font-size: 1.1rem; font-weight: 500; }
.family .muted { max-width: 38ch; font-size: 14px; font-weight: 400; opacity: .8; }
.family__phone { display: block; margin-bottom: 1rem; padding: 4px 0; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }

/* ---------------------------------------------------------
   18. Pied de page
   --------------------------------------------------------- */
.foot { background: var(--ink); color: rgba(255,255,255,.75); }
.foot__top {
  display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: clamp(24px, 4vw, 56px);
  padding: clamp(56px, 7vw, 96px) var(--pad) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px;
}
.foot__top h4 { margin: 0 0 .8rem; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.foot__top p { margin: 0 0 .6rem; line-height: 1.6; }
.foot__brand .mark { margin-bottom: 1rem; color: var(--white); }
.foot__brand p { font-size: 1.05rem; font-weight: 500; color: var(--white); }
.foot__links { display: grid; }
.foot__links a { padding: 6px 0; }
.foot .link { color: rgba(255,255,255,.85); }
.foot__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; padding: 28px var(--pad); font-size: 13px; }
.foot__row nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.foot__row nav a { padding: 6px 0; }
.foot__copy { margin: 0; }

/* ---------------------------------------------------------
   19. Apparitions au défilement
   --------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* photos : léger parallaxe */
[data-parallax] img { scale: 1.14; translate: 0 var(--py, 0px); }

/* ---------------------------------------------------------
   20. Survol — uniquement avec une souris
   --------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .bar__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .bar__cta:hover { background: var(--ink); color: var(--white); }
  .deck__play:hover { transform: scale(1.06); }
  .deck__beats button:hover { opacity: 1; }
  .badge:hover { rotate: 0deg; }
  .link:hover { background-size: 0 1px; background-position: 100% 100%; }
  .link:hover i { transform: translateX(4px); }
  .pill--blue:hover { background: var(--ink); }
  .pill--line:hover { background: var(--ink); color: var(--white); }

  .ribbon:hover .ribbon__track, .ribbon:focus-within .ribbon__track { animation-play-state: paused; }
  .ribbon:hover .ribbon__light, .ribbon:hover .ribbon__hint { opacity: 1; }
  .ribbon__set > button:hover { color: var(--white); translate: 0 -3px; }

  .pin-item:hover { rotate: 0deg; scale: 1.04; z-index: 5; box-shadow: var(--shadow-up); }

  .card:hover { rotate: 0deg; scale: 1.03; z-index: 3; box-shadow: var(--shadow-up); }
  .card:hover .card__img { opacity: .28; }
  .card:hover h3 { transform: translateY(-6px); }
  .card--ink:hover .card__play   { background: var(--white); color: var(--ink); box-shadow: none; }
  .card--blue:hover .card__play  { background: var(--white); color: var(--blue); box-shadow: none; }
  .card--paper:hover .card__play { background: var(--ink); color: var(--white); box-shadow: none; }
  .card--ice:hover .card__play   { background: var(--blue); color: var(--white); box-shadow: none; }

  .quiz__opts button:hover { box-shadow: inset 0 0 0 1.5px var(--blue); translate: 0 -3px; }
  .quiz__opts button.is-picked:hover { box-shadow: none; }
  .quiz__back:hover { color: var(--ink); }
  .prof:hover { rotate: 0deg; scale: 1.03; z-index: 3; box-shadow: var(--shadow-up); }
  .band:hover { translate: 8px 0; }
  .ticket__tel:hover { color: var(--blue); }
  .ticket__btn:hover { background: var(--blue); }
  .tour li:hover { padding-left: 10px; }
  .phero__crumb a:hover { opacity: 1; }
  .family__phone:hover { color: var(--ink); }
  .foot__links a:hover, .foot__row nav a:hover { color: var(--white); }
}
/* au toucher : l'indication du ruban est toujours visible */
@media (hover: none) {
  .ribbon__hint { opacity: 1; }
}

/* ---------------------------------------------------------
   21. Tablette paysage & petits portables (≤ 1180px)
   --------------------------------------------------------- */
@media (max-width: 1180px) {
  .bar { gap: 1.6rem; }
  .bar__nav { gap: 1.3rem; }
  .deck__beats { display: none; }

  .wall { grid-template-columns: repeat(2, 1fr); }
  .hand--hero { display: none; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(odd)  { translate: 0 0; }
  .card:nth-child(even) { translate: 0 28px; }

  .quiz__opts { grid-template-columns: repeat(2, 1fr); }

  .band { grid-template-columns: 1fr auto; }
  .band ul { grid-column: 1 / -1; }

  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------
   22. Tablette portrait (≤ 900px)
   --------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --bar-h: 64px; }

  /* menu plein écran */
  .bar { gap: 12px; }
  .bar__burger { display: block; order: 3; }
  .bar__cta { margin-left: auto; }
  .bar__nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: .2rem;
    margin: 0; padding: 90px var(--pad) var(--pad);
    background: var(--blue); color: var(--white);
    font-size: clamp(2rem, 8vw, 2.6rem); font-weight: 800; letter-spacing: -.04em;
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
  }
  .bar__nav a { padding: 10px 0; }
  .bar__nav a::after { bottom: 8px; height: 2px; }
  /* menu ouvert : pas de flou sur la barre, sinon le menu reste coincé dedans */
  .bar.open { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar.open::after { opacity: 0; }
  .bar.open .bar__nav { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
  .bar.open .bar__cta { background: var(--white); color: var(--blue); }
  .bar.open .bar__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .bar.open .bar__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero { padding-top: 88px; }
  .hero__photo { width: 100%; }
  .hero__photo::before { background: linear-gradient(0deg, var(--blue) 30%, rgba(6,143,243,.2) 75%); }
  .badge { top: auto; bottom: 110px; width: 104px; height: 104px; font-size: 9px; }
  .badge b { font-size: 24px; }

  .sec__head, .welcome, .studio, .show, .firstclass, .family__grid { grid-template-columns: 1fr; }
  .sec__intro { margin-top: 1.4rem; }
  .welcome .polaroid--big { width: min(380px, 88%); }

  .phero { min-height: 60vh; }
  .phero__photo { width: 100%; }
  .phero__photo::before { background: linear-gradient(0deg, var(--blue) 30%, rgba(6,143,243,.25) 80%); }

  .quiz__recos { grid-template-columns: 1fr; }
  .reco { min-height: 0; }
  .reco h4 { margin-top: .6rem; }

  .studio__photo { max-width: 520px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .prof:nth-child(n) { rotate: -1.4deg; translate: 0 0; }
  .prof:nth-child(even) { rotate: 1.4deg; translate: 0 22px; }
  .prof:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
  .days { grid-template-columns: 1fr 1fr; }

  .ticket { grid-template-columns: 1fr; rotate: -1deg; }
  .ticket__main, .ticket__stub { -webkit-mask: none; mask: none; border-radius: 6px; }
  .ticket__stub { border-left: 0; border-top: 2px dashed var(--ice); }

  .pay { grid-template-columns: 1fr; gap: 1.2rem; }
  .show__poster { min-height: 72vh; }
  .show .tour { order: -1; }

}

/* ---------------------------------------------------------
   23. Smartphone (≤ 600px)
   --------------------------------------------------------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sec { padding-top: 72px; padding-bottom: 72px; }

  .bar__cta { padding: 9px 14px; font-size: 12px; }

  /* haut de page */
  .hero { grid-template-rows: auto 1fr auto auto; padding-bottom: 24px; }
  .hero__meta span:last-child { display: none; }
  .swap .st-sans, .swap .st-ragga { --s: .62; }
  .deck { gap: 12px; padding-right: 18px; }
  .badge { position: relative; top: auto; right: auto; bottom: auto; justify-self: end; margin: -40px 0 14px; width: 96px; height: 96px; }

  .ribbon { padding: 16px 0 26px; }

  /* tableau d'affichage */
  .wall { gap: 34px 16px; }
  .sheet { padding: 24px 16px 18px; }
  .postit { padding: 16px 14px; font-size: 1.3rem; }
  .postit small { font-size: 1rem; }
  .flyer { padding: 20px 16px 0; }
  .flyer__tabs { margin: 0 -16px; }
  .flyer__tabs i { height: 84px; font-size: 9px; }
  .polaroid { padding: 9px 9px 0; }
  .polaroid__cap { padding: 8px 2px 10px; font-size: 1.15rem; }
  .poster__k { display: none; }
  .poster__txt { left: 12px; right: 12px; bottom: 12px; }
  .poster__t { font-size: 1.9rem; }

  /* cours */
  .cards { gap: 32px 12px; padding-inline: 0; }
  .card { aspect-ratio: 3 / 4; padding: 14px 12px 14px; }
  .card:nth-child(odd)  { rotate: -1.4deg; }
  .card:nth-child(even) { rotate: 1.4deg; translate: 0 18px; }
  .card:nth-child(odd)::before { width: 64px; height: 18px; margin-left: -32px; top: -8px; }
  .card h3 { margin-bottom: 12px; font-size: calc(2.1rem * var(--s, 1)); }
  .card__play, .card__silence { padding: 6px 10px 6px 8px; font-size: 10px; }
  .card__txt { padding-top: 10px; font-size: 12px; }
  .card__txt span { display: none; }
  .hand--cards { margin: 2.4rem 0 0 12px; }
  .hand--cards .hand__arrow { display: none; }

  .quiz__progress li { font-size: 9px; letter-spacing: .06em; }
  .quiz__opts, .quiz__opts--3 { grid-template-columns: 1fr; }
  .quiz__opts button { padding: 16px; }
  .quiz__back { position: static; margin-top: 1.4rem; }
  .quiz__end .pill { flex: 1 1 auto; justify-content: center; }

  /* studio */
  .team { gap: 30px 14px; }
  .prof { padding: 8px 8px 12px; }
  .prof__styles { margin-top: 8px; font-size: 1.1rem; }
  .facts div { padding-right: 8px; }
  .facts div + div { padding-left: 10px; }

  /* horaires & tarifs */
  .days { grid-template-columns: 1fr; }
  .sec__head--row .period { width: 100%; }
  .band { grid-template-columns: 1fr; gap: .6rem; padding: 20px 22px; border-radius: 24px; }
  .band ul { gap: .3rem 1.4rem; }

  /* saison */
  .show__poster { min-height: 78svh; }
  .seal { width: 92px; height: 92px; font-size: 40px; }
  .tour li { grid-template-columns: 1fr; gap: .2rem; }
  .hand--frigo { margin: -1rem 0 1.6rem 20%; }

  /* ticket */
  .ticket__stub { padding: 22px; }

  /* pied de page */
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__top > div:nth-child(2), .foot__top > div:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------
   24. Petit smartphone (≤ 380px) et très petit (≤ 350px)
   --------------------------------------------------------- */
@media (max-width: 350px) {
  .bar__cta { display: none; }
  .bar__burger { margin-left: auto; }
  .wall { grid-template-columns: 1fr; }
  .sheet { grid-column: auto; }
  .postit { width: 200px; }
  .poster { width: 78%; justify-self: center; }
}
@media (max-width: 380px) {
  :root { --pad: 16px; }
  .bar__cta { padding: 8px 12px; font-size: 11.5px; }
  .hero__pre, .hero__post { font-size: 1.35rem; }
  .deck__info { min-width: 0; }
  .wall { gap: 30px 12px; }
  .postit { font-size: 1.15rem; padding: 14px 12px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
  .card h3 { font-size: calc(1.8rem * var(--s, 1)); }
  .family__phone { font-size: 1.7rem; }
}

/* ---------------------------------------------------------
   25. Mouvements réduits
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .curtain { display: none; }
}
