/* ═══════════════════════════════════════════════════════════
   LE PÚCA — styles (mobile first)
   Charte site : vert foncé #005953 · crème #FFF1BD · lime
   Bleu #050756 réservé aux cartes posées sur fond beige
   ═══════════════════════════════════════════════════════════ */

:root {
  --green: #005953;
  --green-deep: #00463f;
  --green-ink: #002b27;
  --green-soft: #0d6c64;
  --ink: #002b27;
  --navy: #050756;
  --navy-deep: #03033f;
  --navy-ink: #01012a;
  --navy-soft: #11147a;
  --blue: #2c49ff;
  --sky: #9db6ff;
  --cream: #fff1bd;
  --paper: #f4ecd6;
  --magenta: #db45ff;
  --pink: #ff5fd2;
  --rose: #ff74d4;   /* rose d'accent, lisible sur le vert */
  --error: #ff8f80;
  --plum: #380046;
  --lime: #c8e14a;
  --gold: #f5c542;
  --teal: #005953;

  --line: rgba(255, 241, 189, .16);
  --line-strong: rgba(255, 241, 189, .32);
  --muted: rgba(255, 241, 189, .72);

  --font-display: "owners-xnarrow", "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Bai Jamjuree", "bai-jamjuree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --radius: 22px;
  --radius-lg: 32px;
  --dock-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
[hidden]:not(.menu) { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
section[id], [id="essai"] { scroll-margin-top: 64px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--ink); padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.hide-mobile { display: none !important; }

/* Grain (comme les affiches) */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045; display: none;
  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 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Grain : seulement sur ordinateur, fixe et sans mode de fusion (il faisait ramer le défilement sur téléphone) */
@media (hover: hover) and (pointer: fine) { .grain { display: block; } }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--rose)); transform-origin: 0 50%; transform: scaleX(0); }

/* ── Typo utilitaires ─────────────────────────────────────── */
.kicker {
  font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime); margin: 0 0 12px; display: flex; align-items: center; gap: 8px;
}
.title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(56px, 17vw, 168px); line-height: .86; letter-spacing: -.005em; margin-bottom: 24px;
}
.title em { font-style: normal; color: var(--lime); }
.title--md { font-size: clamp(40px, 11vw, 88px); }
.subtitle {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 8vw, 54px);
  line-height: .95; margin: 56px 0 18px;
}
.lead { font-size: 18px; line-height: 1.5; color: var(--cream); max-width: 62ch; }
.lead--sm { font-size: 16px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note svg { width: 16px; height: 16px; flex: none; color: var(--gold); margin-top: 2px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.link svg { width: 18px; height: 18px; }
.prose h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; margin: 22px 0 8px; color: var(--lime); }
.prose p { color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px;
  background: var(--cream); color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .04em; white-space: nowrap;
}
.pill--lime { background: var(--lime); }
.pill--magenta { background: var(--magenta); color: var(--green-ink); }
.pill--navy { background: var(--navy); color: var(--cream); }
.pill--rose { background: var(--rose); color: var(--navy); }
.pill--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line-strong); }

.oval {
  display: inline-grid; place-items: center; text-align: center; line-height: .9;
  border: 2px solid currentColor; border-radius: 50%; padding: 10px 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 30px; margin: 0;
}
.oval small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }
.oval--sm { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; }

/* ── Boutons ──────────────────────────────────────────────── */
.btn {
  --bg: var(--cream); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border-radius: 99px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; line-height: 1;
  transition: transform .35s var(--spring), box-shadow .3s, background .2s, opacity .2s;
  will-change: transform; -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { box-shadow: 0 10px 30px -10px var(--bg); }
.btn:active { transform: scale(.96); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 17px; }
.btn--big { min-height: 58px; padding: 16px 26px; font-size: 23px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--lime { --bg: var(--lime); --fg: var(--ink); }
.btn--cream { --bg: var(--cream); --fg: var(--ink); }
.btn--magenta { --bg: var(--magenta); --fg: var(--navy-ink); }
.btn--navy { --bg: var(--navy); --fg: var(--cream); }
.btn--ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 2px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--cream); }

/* ── Topbar ───────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, backdrop-filter .3s, transform .4s var(--ease);
}
.topbar.is-scrolled { background: rgba(0, 70, 63, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.topbar.is-hidden { transform: translateY(-100%); }
body:not(:has(.hero, .page-hero)) .topbar { background: rgba(0, 70, 63, .9); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
body:not([data-page="accueil"]) main > section:first-child { padding-top: 112px; }
.brand { display: flex; align-items: center; color: var(--cream); }
.brand__logo { display: block; height: 38px; width: auto; aspect-ratio: 736.69 / 252.75; fill: currentColor; overflow: visible; }
.brand__goat { transform-box: fill-box; transform-origin: 50% 60%; transition: transform .5s var(--spring); }
.brand:hover .brand__goat { transform: rotate(-8deg) scale(1.04); }
.topnav { display: none; }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.wallet { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.wallet svg { width: 22px; height: 22px; }
.wallet__count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--rose); color: var(--navy); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.wallet.is-bump { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.3) rotate(-8deg); } }
.burger { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-content: center; gap: 6px; position: relative; z-index: 2; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--spring); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Menu plein écran ─────────────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--green-deep);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 84px var(--gutter) calc(24px + var(--safe-b));
  clip-path: circle(0 at calc(100% - 38px) 30px); transition: clip-path .7s var(--ease); overflow-y: auto;
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - 38px) 30px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 13vw, 92px); line-height: .98;
  display: flex; align-items: baseline; gap: 12px; padding: 2px 0; opacity: 0; transform: translateY(30px);
  transition: opacity .5s, transform .6s var(--spring), color .2s;
}
.menu__links a i { font-family: var(--font-body); font-style: normal; font-size: 12px; color: var(--lime); letter-spacing: .1em; font-weight: 600; transform: translateY(-1.6em); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .12s; } .menu.is-open .menu__links a:nth-child(2) { transition-delay: .16s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .2s; } .menu.is-open .menu__links a:nth-child(4) { transition-delay: .24s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .28s; } .menu.is-open .menu__links a:nth-child(6) { transition-delay: .32s; }
.menu.is-open .menu__links a:nth-child(7) { transition-delay: .36s; } .menu.is-open .menu__links a:nth-child(8) { transition-delay: .4s; }
.menu__links a:hover, .menu__links a:focus-visible { color: var(--rose); }
.menu__links a[aria-current="page"] { color: var(--lime); }
.menu__foot { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.menu__show { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 16px; border-radius: var(--radius); background: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.menu__show .kicker { width: 100%; margin: 0; }
.menu__show b { font-family: var(--font-display); text-transform: uppercase; font-size: 28px; line-height: 1; }
.menu__social { display: flex; gap: 10px; }
.menu__social a, .footer__social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background .2s, color .2s; }
.menu__social a:hover, .footer__social a:hover { background: var(--cream); color: var(--ink); }
.menu__social svg, .footer__social svg { width: 22px; height: 22px; }

/* ── HERO : diaporama façon story ──────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 92px 0 36px; overflow: hidden; isolation: isolate;
  background: var(--green);
}
.hero__stage { position: absolute; inset: 0; z-index: -1; cursor: pointer; transform-origin: 50% 30%;
  transform: translateY(calc(var(--p, 0) * 16%)) scale(calc(1 + var(--p, 0) * .25)); }
/* Mobile : la photo occupe le haut de l'écran puis se fond dans le vert */
.hero__slide {
  position: absolute; left: 0; top: -60px; width: 100%; height: 64%;
  object-fit: cover; object-position: var(--pos, 50% 45%);
  opacity: 0; transition: opacity .35s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 100%);
}
.hero__slide.is-active { opacity: 1; animation: kenburns 7s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 2%, 0); } to { transform: scale(1.02); } }
.hero::after { /* lisibilité du texte */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,43,39,.5) 0, transparent 14%, transparent 36%, rgba(0,89,83,.7) 54%, var(--green) 70%);
}
.hero__bars { position: absolute; z-index: 2; top: calc(66px + env(safe-area-inset-top, 0px)); left: var(--gutter); right: var(--gutter); display: flex; gap: 6px; pointer-events: none; }
.hero__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,241,189,.3); overflow: hidden; }
.hero__bars b { display: block; height: 100%; width: 0; background: var(--cream); border-radius: inherit; }
.hero__bars i.is-done b { width: 100%; }
.hero__bars i.is-active b { animation: storybar var(--dur, 5s) linear forwards; }
@keyframes storybar { to { width: 100%; } }
.hero__content { position: relative; width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(255,116,212,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200,225,74,0); } 100% { box-shadow: 0 0 0 0 rgba(200,225,74,0); } }

.hero__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .84; margin: 0 0 18px; color: var(--cream); }
.hero__layer { display: flex; flex-direction: column; }
.fit-line { display: block; white-space: nowrap; font-size: 22vw; width: max-content; } /* le titre reste fixe au défilement */
.fit-line:nth-child(odd) { --dir: -1; }
.fit-line:nth-child(even) { --dir: 1; }
.hero.is-ready .fit-line { animation: lineUp .9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes lineUp {
  from { opacity: 0; transform: translateY(45%); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(-30% -5% -30% -5%); }
}
.fit-line--mark { position: relative; }
.fit-line--mark::after { content: ""; position: absolute; left: .02em; right: .14em; bottom: -.02em; height: .09em; border-radius: 99px; background: var(--rose); transform: scaleX(0); transform-origin: left; }
.hero.is-ready .fit-line--mark::after { animation: markIn .9s var(--ease) 1s forwards; }
@keyframes markIn { to { transform: scaleX(1); } }
.hero__sub { font-size: 17px; max-width: 34ch; color: var(--muted); margin-bottom: 20px; }
.hero__sub b { color: var(--cream); }
.hero__ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.next-chip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 99px;
  background: rgba(0,43,39,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px;
}
.next-chip__live { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); animation: pulse 1.6s infinite; }

/* Volet coloré qui balaie la photo à chaque changement */
.hero__wipe {
  position: absolute; z-index: -1; top: -10%; bottom: 30%; left: -30%; width: 160%; pointer-events: none; visibility: hidden;
  transform: translateX(-110%) skewX(-16deg);
  background: linear-gradient(90deg, var(--wipe, var(--lime)) 0 72%, var(--wipe2, var(--rose)) 72% 86%, transparent 86%);
}
.hero__wipe.is-go { visibility: visible; animation: wipe .85s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes wipe { from { transform: translateX(-110%) skewX(-16deg); } to { transform: translateX(110%) skewX(-16deg); } }

/* Macaron qui tourne */
.hero__badge {
  position: absolute; z-index: 3; right: var(--gutter); top: -118px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; background: var(--rose); color: var(--navy);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.55);
  transform: rotate(-8deg) scale(0); rotate: calc(var(--p, 0) * 200deg);
  transition: transform .8s var(--spring);
}
.hero.is-ready .hero__badge { transform: rotate(-8deg) scale(1); transition-delay: .8s; }
.hero__badge:active { transform: rotate(-8deg) scale(.92); transition-delay: 0s; }
.hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.hero__badge-ring text { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: 1px; text-transform: uppercase; fill: currentColor; }
.hero__badge-goat { width: 36%; height: auto; fill: currentColor; }
.hero__badge:hover .hero__badge-goat { animation: bump .6s var(--spring); }
@keyframes spin { to { transform: rotate(360deg); } }


/* ── Bandeaux : à cheval entre le vert de l'accueil et le beige ── */
.marquees { --h: 54px; --k1: 4.2vw; --k2: 3.2vw; --gap: -12px; --rl: -4deg; --rn: 3deg; position: relative; height: calc(2 * var(--h) + var(--k1) + var(--k2) + var(--gap) + 14px); overflow: hidden; background: linear-gradient(180deg, var(--green) 50%, var(--cream) 50%); }
.marquee { position: absolute; left: -10%; right: -10%; padding: 12px 0; overflow: hidden; }
.marquee--lime { top: calc(6px + var(--k1)); background: var(--lime); color: var(--ink); transform: rotate(var(--rl)); z-index: 2; }
.marquee--navy { top: calc(6px + var(--k1) + var(--h) + var(--gap)); background: var(--navy); color: var(--rose); transform: rotate(var(--rn)); }
.marquee__track { display: flex; width: max-content; animation: roll 70s linear infinite; }
.marquee__track[data-marquee="-1"] { animation-direction: reverse; }
.marquee__track span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; white-space: nowrap; padding-right: .3em; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 64px 0; position: relative; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* À propos */
.manifesto { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 7vw, 54px); line-height: .98; margin: 8px 0 48px; }
.manifesto .w { opacity: .16; transition: opacity .35s, color .35s; }
.manifesto .w.is-lit { opacity: 1; }
.about { background: var(--cream); color: var(--green); padding: 36px 0 28px; }
.about .photo-roll:last-child { margin-bottom: 0; }
.about .kicker { color: var(--green); }
.about .title em { color: var(--navy); }
.manifesto .w.is-hot { color: var(--navy); }
.manifesto .w.is-hot.rose { color: var(--magenta); }

.about__text { max-width: 720px; }
.about__text p { color: var(--green-ink); font-size: 17px; }
.about__text p:first-child::first-letter { font-family: var(--font-display); font-size: 3.2em; float: left; line-height: .8; padding: 6px 8px 0 0; color: var(--magenta); }

.about__more { font-size: 18px; line-height: 1.5; color: var(--green-ink); max-width: 52ch; margin: 0; }

.section.cours--home { padding-top: 32px; padding-bottom: 28px; }
.cours--home .trial { margin-bottom: 20px; }
.cours__more { display: flex; width: 100%; }
.section.explore { background: var(--cream); padding-top: 0; }

/* Spectacles : frise de la saison */
.section.season { background: var(--cream); color: var(--green); }
.season .kicker { color: var(--green); }
.season .title em { color: var(--navy); }
.season__list { position: relative; list-style: none; margin: 26px 0 18px; padding: 0 0 0 30px; display: grid; gap: 14px; }
.season__list::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: repeating-linear-gradient(180deg, var(--navy) 0 8px, transparent 8px 14px); opacity: .3; }
.season__item {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "date info" "date action";
  column-gap: 16px; row-gap: 10px; align-items: center; padding: 16px 18px; border-radius: 22px;
  color: var(--navy); box-shadow: inset 0 0 0 2px rgba(5,7,86,.14); transition: transform .45s var(--spring);
}
.season__item:hover { transform: translateX(4px); }
.season__item.is-next { background: var(--navy); color: var(--cream); box-shadow: 0 24px 40px -24px var(--navy); }
.season__item.is-past { opacity: .45; }
.season__dot { position: absolute; left: -29px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px var(--navy); }
.season__item.is-next .season__dot { background: var(--rose); box-shadow: 0 0 0 5px rgba(255,116,212,.3); animation: pulse-rose 1.8s infinite; }
@keyframes pulse-rose { 50% { box-shadow: 0 0 0 9px rgba(255,116,212,.12); } }
.season__date { grid-area: date; margin: 0; min-width: 66px; text-align: center; }
.season__date b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 58px; line-height: .8; }
.season__date span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.season__info { grid-area: info; margin: 0; }
.season__info strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 26px; line-height: 1; }
.season__info small { font-size: 13px; opacity: .8; }
.season__item > .btn, .season__tag { grid-area: action; justify-self: start; }
.season__item .btn--navy { --bg: var(--navy); --fg: var(--cream); }
.season__item.is-next .btn--navy { --bg: var(--lime); --fg: var(--navy); }
.season__tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.season__note { font-size: 14px; color: var(--green-ink); margin: 0; }

/* Spectacles : les affiches */
.section.affiches { background: var(--navy); }
.affiches .shows__poster { aspect-ratio: 3 / 4; max-width: 380px; max-height: none; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-2deg); }
.affiches .posters { padding-top: 0; }

/* Accueil : avis Google — widget Trustindex habillé aux couleurs du site */
.section.reviews { background: var(--cream); color: var(--green); }
.reviews .kicker { color: var(--green); }
.reviews .title em { color: var(--navy); }
.reviews__lead { font-size: 18px; color: var(--green-ink); max-width: 46ch; margin: 0 0 8px; }
.reviews__widget { min-height: 330px; margin: 22px -8px 0; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
#avis .ti-widget .ti-widget-container, #avis .ti-widget .ti-widget-container * { font-family: var(--font-body) !important; }
#avis .ti-widget .ti-widget-header { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 8px !important; }
#avis .ti-widget .ti-widget-header .ti-star { width: 22px !important; height: 22px !important; }
#avis .ti-widget .ti-widget-header .ti-top-rated-title { font-family: var(--font-display) !important; font-weight: 800 !important; text-transform: uppercase; font-size: 28px !important; line-height: 1 !important; color: var(--navy) !important; margin: 6px 0 8px !important; }
#avis .ti-widget .ti-verified-by .ti-inner { background: var(--navy) !important; color: var(--cream) !important; border-radius: 999px !important; padding: 5px 14px !important; }
#avis .ti-widget .ti-verified-by .ti-info-icon { background-color: var(--cream) !important; }
#avis .ti-widget .ti-read-more::after { background-color: var(--rose) !important; }
#avis .ti-widget .ti-review-item > .ti-inner { background: var(--navy) !important; border-color: var(--navy) !important; border-radius: 24px !important; box-shadow: none !important; }
#avis .ti-widget .ti-name { color: var(--cream) !important; font-weight: 700 !important; }
#avis .ti-widget .ti-date { color: var(--muted) !important; }
#avis .ti-widget .ti-review-content { color: rgba(255,241,189,.86) !important; }
#avis .ti-widget .ti-read-more span { color: var(--rose) !important; opacity: 1 !important; font-weight: 600 !important; }
#avis .ti-widget .ti-controls-line { background: rgba(5,7,86,.16) !important; }
#avis .ti-widget .ti-controls-line .dot { background: var(--navy) !important; }
#avis .ti-widget .ti-controls .ti-next, #avis .ti-widget .ti-controls .ti-prev { background: var(--navy) !important; outline-color: var(--navy) !important; }
#avis .ti-widget .ti-controls .ti-next::before, #avis .ti-widget .ti-controls .ti-prev::before { border-color: var(--cream) !important; }
#avis .ti-widget .ti-controls .ti-next:hover, #avis .ti-widget .ti-controls .ti-prev:hover { background: var(--rose) !important; outline-color: var(--rose) !important; }
#avis .ti-widget .ti-controls .ti-next:hover::before, #avis .ti-widget .ti-controls .ti-prev:hover::before { border-color: var(--navy) !important; }

/* Accueil : le prochain spectacle en grand billet */
.section.next-show { background: var(--green); }
.bigticket {
  --cut: 210px; --cutx: 38%;
  display: grid; max-width: 980px; margin: 0 auto; border-radius: 28px; overflow: hidden;
  background: var(--cream); color: var(--navy); box-shadow: 0 40px 80px -30px rgba(0,0,0,.65);
  transform: rotate(-1.5deg); transition: transform .5s var(--ease);
  -webkit-mask: radial-gradient(circle 16px at 0 var(--cut), transparent 98%, #000), radial-gradient(circle 16px at 100% var(--cut), transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.bigticket.reveal.is-in { transform: rotate(-1.5deg); }
.bigticket__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.bigticket__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.04); transition: transform 1s var(--ease); }
.bigticket:hover .bigticket__art img { transform: scale(1.1); }
.bigticket__main { padding: 24px 22px 26px; border-top: 3px dashed rgba(5,7,86,.25); }
.bigticket .kicker { color: var(--green); }
.bigticket__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(42px, 12vw, 76px); line-height: .86; margin: 0 0 10px; }
.bigticket__date { font-weight: 700; font-size: 16px; line-height: 1.4; margin: 0 0 18px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin-bottom: 20px; }
.countdown span { display: grid; justify-items: center; padding: 10px 4px 8px; border-radius: 16px; background: var(--navy); color: var(--cream); }
.countdown span:last-child { background: var(--rose); color: var(--navy); }
.countdown b { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown b.is-tick { animation: cdTick .4s var(--spring); }
@keyframes cdTick { 40% { transform: translateY(-4px) scale(1.12); } }
.countdown small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.bigticket__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--outline { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--outline:hover { box-shadow: inset 0 0 0 2px var(--navy), 0 10px 30px -12px var(--navy); }
.bigticket__more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14px; font-weight: 600; }
.tiles { display: grid; gap: 12px; }
.tile {
  position: relative; display: flex; align-items: flex-end; min-height: 210px; padding: 20px; border-radius: var(--radius-lg);
  overflow: hidden; isolation: isolate; color: var(--cream); background: var(--tile, var(--navy)); transition: transform .5s var(--spring);
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform .9s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tile, var(--navy)); mix-blend-mode: multiply; opacity: .9; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.45)); }
.tile--navy { --tile: var(--navy); }
.tile--rose { --tile: var(--magenta); }
.tile--green { --tile: var(--green); }
.tile__body { display: block; }
.tile__kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.tile--rose .tile__kicker { color: var(--cream); }
.tile__title { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(54px, 15vw, 92px); line-height: .84; }
.tile__go { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--navy); transition: transform .45s var(--spring); }
.tile__go svg { width: 22px; height: 22px; }
.tile:hover { transform: translateY(-4px) rotate(-.5deg); }
.tile:hover img { transform: scale(1.06); }
.tile:hover .tile__go { transform: rotate(-45deg); background: var(--rose); }
.tile__faces { position: absolute; top: 20px; left: 20px; display: flex; }
.tile__faces img { position: static; z-index: auto; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; filter: none; border: 3px solid var(--green); margin-left: -14px; transition: transform .4s var(--spring); }
.tile__faces img:first-child { margin-left: 0; }
.tile--green:hover .tile__faces img { transform: translateY(-6px); }
.tile--green:hover .tile__faces img:nth-child(even) { transform: translateY(4px); }

.photo-roll { overflow: hidden; margin: 4px 0 40px; cursor: pointer; }
.photo-roll__track { display: flex; width: max-content; animation: roll 60s linear infinite; }
.photo-roll figure { flex: none; margin: 0 12px 0 0; height: 300px; aspect-ratio: 2/3; border-radius: 22px; overflow: hidden; background: var(--paper); }
.photo-roll img { width: 100%; height: 100%; object-fit: cover; }
.photo-roll:hover .photo-roll__track, .photo-roll.is-paused .photo-roll__track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }

.pillars { display: grid; gap: 14px; margin-top: 40px; }
.pillar {
  position: relative; display: block; padding: 26px 22px 60px; border-radius: var(--radius-lg); background: var(--green); color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: background .3s, transform .5s var(--spring);
}
.pillar::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: var(--rose); opacity: 0; filter: blur(50px); transition: opacity .4s; }
.pillar:hover::before { opacity: .3; }
.pillar:nth-child(2) { background: var(--navy); }
.pillar:hover { transform: translateY(-4px) rotate(-.4deg); }
.pillar__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--lime); }
.pillar h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 40px; line-height: .95; margin: 10px 0 12px; }
.pillar p { color: var(--muted); font-size: 15px; margin: 0; position: relative; }
.pillar__arrow { position: absolute; right: 20px; bottom: 20px; width: 30px; height: 30px; color: var(--rose); transition: transform .4s var(--spring); }
.pillar:hover .pillar__arrow { transform: translateX(6px); }

/* ── Cours ────────────────────────────────────────────────── */
.cours { background: var(--cream); color: var(--green); padding-top: 40px; }
.cours .kicker { color: var(--green); }
.cours .title em { color: var(--navy); }
.cours .lead { color: var(--green-ink); }
.cours-cards { display: grid; gap: 16px; margin: 36px 0 26px; }
.course {
  position: relative; border-radius: var(--radius-lg); background: var(--navy); color: var(--cream); padding: 22px 22px 22px;
  overflow: hidden; isolation: isolate; transform-style: preserve-3d; transition: transform .5s var(--spring);
}
.course::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--magenta), transparent 65%); opacity: .55; }
.course__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cours .course .kicker { color: var(--lime); }
.course__day { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 76px; line-height: .82; }
.course__time { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--lime); margin: 8px 0 16px; letter-spacing: .02em; }
.course__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.course__tags li { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.course__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line-strong); padding-top: 16px; }
.course__price { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.course__price small { font-family: var(--font-body); font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }

.trial { position: relative; display: grid; gap: 14px; align-items: center; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--lime); color: var(--ink); margin-bottom: 40px; overflow: hidden; }
.trial p { margin: 0; font-size: 18px; max-width: 30ch; }
.trial .btn { --bg: var(--green); --fg: var(--cream); justify-self: start; }
.trial__sticker {
  position: absolute; right: -6px; top: -6px; width: 112px; height: 112px; border-radius: 50%; background: var(--rose); color: var(--navy);
  display: grid; place-content: center; text-align: center; transform: rotate(12deg); animation: wobble 6s ease-in-out infinite;
  font-family: var(--font-display); text-transform: uppercase; line-height: .9; font-size: 16px;
}
.trial__sticker b { font-size: 26px; }
@keyframes wobble { 50% { transform: rotate(-6deg) scale(1.05); } }
.trial p { padding-right: 96px; }

.accordion { border-top: 2px solid var(--green); }
.acc { border-bottom: 2px solid var(--green); }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 0; text-align: left; }
.acc__n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--green); width: 24px; }
.acc__t { flex: 1; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; }
.acc__ico { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-size: 20px; transition: transform .4s var(--spring), background .2s; flex: none; }
.acc.is-open .acc__ico { transform: rotate(45deg); background: var(--rose); color: var(--navy); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 0 22px 38px; margin: 0; font-size: 16px; max-width: 64ch; color: var(--green-ink); }

.capacity { margin: 48px 0 30px; }
.capacity__goats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; max-width: 420px; margin-bottom: 16px; }
.capacity__goats svg { width: 100%; aspect-ratio: 245/279; fill: var(--navy); opacity: .12; transform: scale(.6); transition: opacity .3s, transform .5s var(--spring), fill .3s; }
.capacity__goats svg.is-on { opacity: 1; transform: none; }
.capacity__goats svg.is-on:nth-child(odd) { fill: var(--green); }
.capacity__goats svg.is-on:nth-child(3n) { fill: var(--rose); }
.capacity p { font-size: 18px; max-width: 34ch; margin: 0; }
.capacity b { font-family: var(--font-display); font-size: 56px; line-height: .8; vertical-align: -6px; margin-right: 4px; color: var(--navy); }

.chips-roll { display: grid; gap: 6px; margin-inline: calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.chips-roll__row { overflow: hidden; padding: 6px 0; }
.chips-roll__track { display: flex; width: max-content; animation: roll 40s linear infinite; }
.chips-roll__row.is-rev .chips-roll__track { animation-direction: reverse; animation-duration: 46s; }
.chips-roll:hover .chips-roll__track { animation-play-state: paused; }
.chips-roll button {
  flex: none; margin-right: 10px;
  padding: 10px 18px; border-radius: 99px; background: var(--navy); color: var(--cream);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: .02em;
  transition: transform .4s var(--spring), background .2s, color .2s;
}
.chips-roll__row.is-rev button { background: var(--green); }
.chips-roll button:hover, .chips-roll button.is-pop { background: var(--rose); color: var(--navy); transform: rotate(-4deg) scale(1.08); }
.formats .kicker { color: var(--green); }

.filmstrip { display: flex; gap: 12px; overflow-x: auto; padding: 44px var(--gutter) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip figure { margin: 0; flex: 0 0 76%; max-width: 420px; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; scroll-snap-align: center; background: var(--green); }
.filmstrip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: filter .5s, transform .8s var(--ease); }
.filmstrip figure:hover img, .filmstrip figure.is-center img { filter: none; transform: scale(1.04); }
.cours .filmstrip { padding-bottom: 0; }

/* ── Jeu (machine à impro) ────────────────────────────────── */
/* Cette section garde le bleu de la charte des affiches */
.jeu { background: radial-gradient(90% 60% at 50% 0%, var(--plum), var(--navy) 70%); overflow: hidden; }
.jeu .title em { color: var(--magenta); }
.slot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 28px 0 18px; }
.slot__reel { position: relative; min-width: 0; border-radius: 22px; background: var(--navy-ink); box-shadow: inset 0 0 0 2px var(--line), 0 20px 40px -20px rgba(0,0,0,.7); padding: 12px 16px; }
.slot__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.slot__window { height: 58px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.slot__window ul { list-style: none; margin: 0; padding: 0; will-change: transform; }
.slot__window li { height: 58px; display: flex; align-items: center; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 6.4vw, 30px); line-height: .95; white-space: normal; overflow: hidden; }
.slot__reel.is-landed { box-shadow: inset 0 0 0 2px var(--magenta), 0 0 40px -6px rgba(219,69,255,.6); }
.slot__reel.is-landed li.is-final { color: var(--magenta); }
.slot__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.slot__actions .btn { flex: 1 1 auto; }
.slot__actions [data-slot-timer].is-running { --fg: var(--lime); box-shadow: inset 0 0 0 2px var(--lime); }
.slot__actions [data-slot-timer].is-done { --bg: var(--magenta); --fg: var(--navy-ink); box-shadow: none; animation: bump .6s var(--spring) 3; }

/* ── Spectacles ───────────────────────────────────────────── */
.shows .title em, .contact .title em { color: var(--rose); }
.shows { background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%); }
.shows__hero { display: grid; gap: 28px; margin-bottom: 18px; }
.shows__poster {
  position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 9/16; max-height: 82svh; margin-inline: auto; width: 100%;
  background: var(--green-ink) url("../media/cabarets-affiche.jpg") center/cover; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease);
}
.shows__poster video { width: 100%; height: 100%; object-fit: cover; }
.shows__poster-cta {
  position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 99px; background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase;
  box-shadow: 0 10px 30px -6px rgba(200,225,74,.6); animation: float 3s ease-in-out infinite;
}
.shows__poster-cta svg { width: 20px; height: 20px; }
@keyframes float { 50% { transform: translateY(-5px) rotate(-3deg); } }

.shows__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.dates { display: grid; gap: 12px; }
.date-card {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 16px 16px 16px 18px; border-radius: 24px; background: var(--cream); color: var(--ink); overflow: hidden;
  transition: transform .45s var(--spring), box-shadow .3s;
  -webkit-mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) , radial-gradient(circle 12px at 100% 50%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.date-card:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 16px 40px -18px var(--lime); }
.date-card:active { transform: scale(.98); }
.date-card[disabled] { opacity: .45; pointer-events: none; }
.date-card__day { text-align: center; padding-right: 16px; border-right: 2px dashed rgba(0,43,39,.3); min-width: 76px; }
.date-card__day b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 58px; line-height: .8; }
.date-card__day span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.date-card__main { min-width: 0; }
.date-card__main strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 26px; line-height: 1; }
.date-card__main small { display: block; font-size: 13px; margin-top: 4px; opacity: .8; }
.avail { margin-top: 10px; }
.avail__bar { height: 6px; border-radius: 99px; background: rgba(0,43,39,.12); overflow: hidden; }
.avail__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--rose), var(--navy)); transition: width 1.2s var(--ease); }
.avail__txt { font-size: 12px; font-weight: 600; margin-top: 6px; display: block; }
.date-card__go { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--rose); display: grid; place-items: center; transition: transform .4s var(--spring); }
.date-card:hover .date-card__go { transform: rotate(-30deg) scale(1.1); }
.date-card__go svg { width: 22px; height: 22px; }
.date-card .pill { margin-top: 8px; }
.date-card.is-soldout .date-card__go { background: rgba(0,43,39,.3); color: var(--ink); }
.shows .note { margin-top: 16px; }

.posters { display: flex; gap: 16px; overflow-x: auto; padding: 8px var(--gutter) 30px; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 1000px; }
.posters::-webkit-scrollbar { display: none; }
.posters figure { margin: 0; flex: 0 0 62%; max-width: 300px; scroll-snap-align: center; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; background: var(--green-soft); transition: transform .3s; box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); }
.posters img { width: 100%; height: 100%; object-fit: cover; }
.ateliers-cta { padding: 26px 22px; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1.5px var(--line-strong); margin-top: 26px; }
.ateliers-cta h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 36px; line-height: .95; margin-bottom: 10px; }
.ateliers-cta p { color: var(--muted); }

/* ── Masterclass ──────────────────────────────────────────── */
.mc { background: var(--cream); color: var(--green); }
.mc .kicker { color: var(--green); }
.mc .title em { color: var(--navy); }
.mc .note { color: var(--green-ink); }
.mc .note svg { color: var(--green); }
.mc__upcoming { margin-bottom: 30px; }
.mc-feature { display: grid; gap: 18px; padding: 18px; border-radius: var(--radius-lg); background: var(--navy); color: var(--cream); }
.mc-feature img { border-radius: 20px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.mc-feature h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 52px; line-height: .88; }
.mc-feature dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0; font-size: 15px; }
.mc-feature dt { color: var(--lime); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.mc-feature dd { margin: 0; }
.mc-empty { padding: 26px 22px; border-radius: var(--radius-lg); background: var(--navy); color: var(--cream); display: grid; gap: 14px; }
.mc-empty h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 44px; line-height: .9; }
.mc-empty p { color: var(--muted); margin: 0; }
.mc-empty .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mc__intro p { font-size: 17px; max-width: 64ch; color: var(--green-ink); }
.mc__past { display: grid; gap: 14px; }
.mc-card { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; padding: 12px; border-radius: 24px; background: var(--navy); color: var(--cream); text-align: left; width: 100%; transition: transform .4s var(--spring), box-shadow .3s; }
.mc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px var(--navy); }
.mc-card .meta { color: var(--muted); }
.mc-card .toggle { color: var(--rose); }
.mc-card img { width: 110px; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; }
.mc-card h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; line-height: .92; margin: 4px 0 6px; }
.mc-card .meta { font-size: 13px; font-weight: 600; }
.mc-card .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mc-card .more > div { overflow: hidden; }
.mc-card .more p { margin: 10px 0 0; font-size: 14px; }
.mc-card.is-open .more { grid-template-rows: 1fr; }
.mc-card .toggle { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; display: inline-block; border-bottom: 2px solid currentColor; }

/* ── Équipe ───────────────────────────────────────────────── */
.team { background: var(--cream); color: var(--green); overflow: hidden; }
.team .lead { color: var(--green-ink); }
.team .member { box-shadow: none; color: var(--cream); }
.team__deck { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 12vw 20px; scrollbar-width: none; }
.team__deck::-webkit-scrollbar { display: none; }
.member {
  flex: 0 0 76vw; max-width: 340px; scroll-snap-align: center; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 3/4.2;
  background: var(--green); text-align: left; transform: scale(var(--s, .9)) rotate(var(--rot, 0deg)); transition: transform .25s linear;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .6s, transform .8s var(--ease); }
.member::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(0,30,27,.95)); }
.member::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--green); mix-blend-mode: color; opacity: .85; transition: opacity .6s; }
.member.is-center img, .member:hover img { filter: grayscale(0) contrast(1.05); transform: scale(1.04); }
.member.is-center::after, .member:hover::after { opacity: 0; }
.member__info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; }
.member__role { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.member__name { font-family: var(--font-display); text-transform: uppercase; font-size: 46px; line-height: .86; margin: 6px 0 12px; }
.member__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 99px; background: var(--navy); color: var(--cream); }
.member__more svg { width: 16px; height: 16px; }
.team__dots { display: flex; justify-content: center; gap: 8px; padding-top: 6px; }
.team__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(5,7,86,.2); transition: width .3s var(--ease), background .3s; }
.team__dots i.is-active { width: 26px; background: var(--rose); }

.member-sheet__photo { position: relative; aspect-ratio: 4/3.4; overflow: hidden; }
.member-sheet__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.member-sheet__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--navy)); }
.member-sheet__body { padding: 0 22px 30px; margin-top: -60px; position: relative; }
.member-sheet__body h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 58px; line-height: .86; margin: 6px 0 16px; }
.member-sheet__body p { color: var(--muted); }
.member-sheet__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }

/* ── Cours d'essai ────────────────────────────────────────── */
.essai { position: relative; background: var(--lime); color: var(--ink); padding: 80px 0 90px; overflow: hidden; }
.essai__q { font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.essai__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(52px, 15vw, 150px); line-height: .86; margin-bottom: 30px; max-width: 12ch; position: relative; z-index: 1; }
.essai__free { display: inline-block; background: var(--navy); color: var(--rose); padding: 0 .12em; transform: rotate(-2deg); }
.essai .btn { position: relative; z-index: 1; }
.essai__goat { position: absolute; right: -40px; bottom: -40px; width: 280px; height: 320px; fill: var(--ink); opacity: .1; transform: rotate(-10deg); }

/* ── Formulaires ──────────────────────────────────────────── */
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--cream); background: rgba(255,241,189,.06);
  border: 0; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line-strong); padding: 24px 16px 10px; min-height: 58px; resize: vertical;
  transition: box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; }
.field span { position: absolute; left: 16px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none; transition: transform .2s var(--ease), font-size .2s, color .2s; transform-origin: 0 0; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); background: rgba(255,241,189,.1); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-11px); font-size: 12px; color: var(--lime); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px var(--error); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend, .course-pick legend { font-size: 13px; color: var(--muted); margin-bottom: 8px; padding: 0; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-weight: 600; font-size: 15px; transition: background .2s, color .2s, transform .3s var(--spring); }
.chip input:checked + span { background: var(--cream); color: var(--ink); transform: scale(1.05); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.chips.is-invalid span { box-shadow: inset 0 0 0 1.5px var(--error); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--lime); margin: 1px 0 0; flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { min-height: 1.4em; margin: 0; font-size: 14px; font-weight: 600; }
.form__msg.is-error { color: var(--error); }
.form__msg.is-ok { color: var(--lime); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.course-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.course-opt { position: relative; display: block; }
.course-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.course-opt > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background .2s, color .2s, box-shadow .2s; }
.course-opt b { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; line-height: 1; }
.course-opt small { font-size: 13px; color: var(--muted); display: block; }
.course-opt em { font-style: normal; font-weight: 700; font-size: 14px; }
.course-opt input:checked + span { background: var(--lime); color: var(--ink); box-shadow: none; }
.course-opt input:checked + span small { color: var(--ink); }
.course-opt input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.course-pick.is-invalid .course-opt > span { box-shadow: inset 0 0 0 1.5px var(--error); }

.newsletter { background: var(--cream); }
.nl-card { padding: 28px 20px; border-radius: var(--radius-lg); background: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.nl-card .title em { display: block; color: var(--lime); font-size: .55em; line-height: 1; margin-top: 8px; }

.contact { background: var(--green); }
.contact__grid { display: grid; gap: 40px; }
.contact__side { display: grid; gap: 14px; align-content: start; }
.kenza { display: flex; align-items: center; gap: 14px; }
.kenza img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--rose); }
.kenza b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 28px; line-height: 1; }
.kenza span { font-size: 13px; color: var(--muted); }
.contact__bubble { position: relative; padding: 16px 18px; border-radius: 20px 20px 20px 6px; background: var(--cream); color: var(--ink); font-size: 16px; margin: 0; }
.contact__line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; transition: background .2s, color .2s; word-break: break-all; }
.contact__line:hover { background: var(--cream); color: var(--ink); }
.contact__line svg { width: 22px; height: 22px; flex: none; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  /* en bas : la place de la barre de navigation mobile */
  padding: 48px 0 calc(var(--dock-h) + 34px + var(--safe-b)); overflow: hidden;
  /* beaucoup de bleu, une lueur rose dans le coin */
  background: radial-gradient(95% 75% at 100% 85%, rgba(255,116,212,.6) 0, rgba(219,69,255,.28) 38%, rgba(5,7,86,0) 72%),
              radial-gradient(60% 70% at 0 0, rgba(17,20,122,.9) 0, rgba(17,20,122,0) 70%), var(--navy);
}
.footer__inner { display: grid; grid-template-columns: auto auto; grid-template-areas: "brand social" "cols cols"; align-items: center; justify-content: space-between; gap: 28px 20px; }
.footer__brand { grid-area: brand; display: block; }
.footer__note { display: flex; gap: 10px; color: var(--muted); font-size: 14px; max-width: 52ch; }
.footer__note svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer__cols { grid-area: cols; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.footer__cols nav { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; line-height: 1; transition: color .2s; }
.footer__cols a:hover { color: var(--rose); }
.footer__social { grid-area: social; display: flex; gap: 10px; }
.footer__word { display: block; width: 130px; height: auto; aspect-ratio: 736.69/252.75; fill: var(--cream); }
.footer__legal { text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .04em; padding: 0 var(--gutter); margin: 36px 0 0; }
.footer__legal a { text-decoration: underline; }

/* ── Dock mobile ──────────────────────────────────────────── */
.dock {
  position: fixed; z-index: 99; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); height: var(--dock-h);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  border-radius: 24px; background: rgba(0, 43, 39, .86); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.8), inset 0 0 0 1px var(--line);
  transition: transform .45s var(--ease);
}
.dock.is-hidden { transform: translateY(calc(100% + 30px)); }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding: 6px 0; transition: color .2s; -webkit-tap-highlight-color: transparent; }
.dock a svg { width: 22px; height: 22px; transition: transform .35s var(--spring); }
/* La page où l'on se trouve est en vert clair */
.dock a[aria-current="page"] { color: var(--lime); }

/* ── Bottom sheets (dialog) ───────────────────────────────── */
.sheet {
  --sheet-y: 100%;
  position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 92svh; height: auto;
  padding: 0; border: 0; border-radius: 30px 30px 0 0; background: var(--navy); color: var(--cream);
  box-shadow: 0 -20px 60px -10px rgba(0,0,0,.7), inset 0 1px 0 var(--line-strong);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(var(--sheet-y)); transition: transform .5s var(--ease);
}
.sheet:not([open]) { display: none; }
.sheet.is-open { --sheet-y: 0px; }
.sheet.is-dragging { transition: none; }
.sheet--tall { height: 92svh; }
/* Toutes les fenêtres (pop-up) sont dans le bleu de la charte */
.sheet::backdrop { background: rgba(1, 1, 42, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet__handle { flex: none; height: 26px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet__handle::before { content: ""; width: 44px; height: 5px; border-radius: 9px; background: var(--line-strong); }
.sheet__head { flex: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 0 20px 12px; }
.sheet__head .kicker { margin-bottom: 4px; }
.sheet__title { font-family: var(--font-display); text-transform: uppercase; font-size: 40px; line-height: .9; }
.sheet__close { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 16px; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background .2s, color .2s, transform .3s var(--spring); }
.sheet__close:hover { background: var(--cream); color: var(--ink); transform: rotate(90deg); }
.sheet__close--float { position: absolute; z-index: 5; top: 34px; right: 16px; background: rgba(1,1,42,.6); backdrop-filter: blur(8px); }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 28px; -webkit-overflow-scrolling: touch; }
.sheet__body--flush { padding: 0; margin-top: -26px; }
.sheet__foot { flex: none; display: flex; gap: 10px; padding: 12px 20px calc(14px + var(--safe-b)); box-shadow: 0 -1px 0 var(--line); background: var(--navy); }

/* ── Billetterie ──────────────────────────────────────────── */
.steps { flex: none; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; padding: 0 20px 14px; counter-reset: s; }
.steps li { counter-increment: s; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 10px; position: relative; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 9px; background: var(--line); }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 0; border-radius: 9px; background: var(--lime); transition: width .5s var(--ease); }
.steps li.is-active, .steps li.is-done { color: var(--cream); }
.steps li.is-active::after, .steps li.is-done::after { width: 100%; }

.bt { position: relative; }
.bt__step { display: none; animation: stepIn .5s var(--ease); }
.bt__step.is-active { display: block; }
.bt__step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-40px); } }
.bt__dates { display: grid; gap: 10px; margin-bottom: 16px; }
.bt-date { position: relative; display: block; }
.bt-date input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.bt-date input:disabled { cursor: not-allowed; }
.bt-date__card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 22px;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background .25s, color .25s, transform .4s var(--spring), box-shadow .2s;
}
.bt-date__num { font-family: var(--font-display); font-size: 52px; line-height: .8; min-width: 56px; text-align: center; }
.bt-date__num small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.bt-date__txt strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 24px; line-height: 1; }
.bt-date__txt small { font-size: 13px; opacity: .8; }
.bt-date__radio { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); display: grid; place-items: center; transition: box-shadow .2s, background .2s; }
.bt-date input:checked + .bt-date__card { background: var(--cream); color: var(--ink); box-shadow: none; transform: scale(1.02); }
.bt-date input:checked + .bt-date__card .bt-date__radio { background: var(--ink); box-shadow: none; }
.bt-date input:checked + .bt-date__card .bt-date__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.bt-date input:focus-visible + .bt-date__card { outline: 3px solid var(--lime); outline-offset: 2px; }
.bt-date input:disabled + .bt-date__card { opacity: .4; }

.bt__q { font-family: var(--font-display); text-transform: uppercase; font-size: 36px; line-height: 1; text-align: center; margin: 10px 0 18px; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 26px; }
.stepper__btn { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 34px; font-weight: 600; line-height: 1; display: grid; place-items: center; transition: transform .3s var(--spring), opacity .2s; }
.stepper__btn:active { transform: scale(.88); }
.stepper__btn[disabled] { opacity: .25; pointer-events: none; }
.stepper__val { font-family: var(--font-display); font-size: 120px; line-height: .8; min-width: 90px; text-align: center; display: inline-block; }
.stepper__val.is-tick { animation: tick .35s var(--spring); }
@keyframes tick { 40% { transform: scale(1.25) rotate(-4deg); color: var(--lime); } }
.seats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 64px; margin: 24px auto 14px; max-width: 320px; }
.seats svg { width: 40px; height: 46px; fill: var(--cream); animation: popIn .5s var(--spring) both; }
.seats svg:nth-child(3n+2) { fill: var(--gold); }
.seats svg:nth-child(3n) { fill: var(--lime); }
@keyframes popIn { from { transform: translateY(20px) scale(0); opacity: 0; } }
.bt__total { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 20px; background: var(--navy-soft); margin-bottom: 12px; font-size: 15px; }
.bt__total b { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--lime); vertical-align: -4px; margin-right: 4px; }
.bt__step[data-step="3"] .row2, .bt__step[data-step="3"] .field { margin-bottom: 12px; }
.recap { margin-top: 18px; padding: 16px; border-radius: 20px; background: var(--navy-soft); display: grid; gap: 6px; font-size: 14px; }
.recap div { display: flex; justify-content: space-between; gap: 12px; }
.recap span { color: var(--muted); }
.recap b { text-align: right; }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink); background: var(--gold); border-radius: 99px; padding: 4px 10px; font-weight: 700; }

/* Billet */
.ticket-wrap { perspective: 1200px; padding-top: 6px; }
.ticket {
  --mx: 50%; --my: 50%;
  position: relative; max-width: 380px; margin: 0 auto; border-radius: 26px; overflow: hidden; color: var(--navy);
  background: var(--paper); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  transform: rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); transition: transform .2s;
  animation: printOut 1.1s var(--ease) both;
  -webkit-mask: radial-gradient(circle 14px at 0 var(--cut, 62%), transparent 98%, #000) , radial-gradient(circle 14px at 100% var(--cut, 62%), transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
@keyframes printOut { from { clip-path: inset(0 0 100% 0); transform: translateY(-40px); } to { clip-path: inset(0 0 0 0); } }
.ticket__holo { position: absolute; inset: 0; pointer-events: none; z-index: 3; mix-blend-mode: color-dodge; opacity: .5;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.7), transparent 40%),
              linear-gradient(115deg, transparent 20%, rgba(219,69,255,.35) 35%, rgba(200,225,74,.35) 50%, rgba(44,73,255,.35) 65%, transparent 80%);
  background-size: 100% 100%, 250% 250%; background-position: center, var(--mx) var(--my);
}
.ticket__top { position: relative; background: var(--navy) url("../media/cabarets-affiche.jpg") 50% 52% / 150% auto no-repeat; color: var(--cream); padding: 20px 20px 18px; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; }
.ticket__top::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,86,.2), rgba(5,7,86,.92) 75%); }
.ticket__top > * { position: relative; }
.ticket__brand { position: absolute; top: 16px; left: 18px; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ticket__brand svg { width: 22px; height: 25px; fill: var(--cream); }
.ticket__title { font-family: var(--font-display); text-transform: uppercase; font-size: 46px; line-height: .86; margin: 0 0 8px; }
.ticket__date { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; color: var(--lime); line-height: 1; }
.ticket__mid { padding: 18px 20px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.ticket__mid dt { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.ticket__mid dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; line-height: 1.25; }
.ticket__mid .full { grid-column: 1 / -1; }
.ticket__perf { position: relative; height: 0; border-top: 3px dashed rgba(0,43,39,.25); margin: 0 18px; }
.ticket__stub { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 20px; }
.ticket__qr { width: 112px; height: 112px; background: #fff; border-radius: 12px; padding: 8px; }
.ticket__qr svg { width: 100%; height: 100%; }
.ticket__code { font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: .02em; word-break: break-all; }
.ticket__stub small { display: block; font-size: 12px; margin-top: 6px; opacity: .75; }
.ticket-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px auto 0; max-width: 380px; }
.ticket-actions .btn { font-size: 17px; min-height: 50px; padding: 10px 12px; }
.ticket-actions .ticket-actions__wide { grid-column: 1 / -1; }
.wallet-pdf { display: flex; margin: 14px auto 0; }
.ticket-done { text-align: center; margin: 0 0 16px; }
.ticket-done h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 44px; line-height: .9; color: var(--lime); }
.ticket-done p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.ticket-done .ticket-done__mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 9px 16px; border-radius: 18px; background: rgba(200,225,74,.14); color: var(--cream); font-size: 13px; line-height: 1.4; text-align: left; max-width: 100%; }
.ticket-done__mail b { word-break: break-all; }
.ticket-done__mail svg { width: 16px; height: 16px; flex: none; color: var(--lime); }

/* Page « Mon billet » (lien de l'e-mail) */
.section.billet-page { background: var(--navy); color: var(--cream); min-height: 70vh; }
.billet-page .kicker { color: var(--rose); }
.billet-page .title em { color: var(--lime); }
.billet-page__slot { max-width: 440px; margin: 22px auto 0; }
.billet-page__slot > .lead { color: var(--muted); }
.billet-page__note { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }

.wallet-list { display: grid; gap: 24px; }
.wallet-empty { text-align: center; padding: 30px 10px; }
.wallet-empty > svg { display: block; width: 90px; height: 100px; margin: 0 auto 16px; fill: var(--navy-soft); }
.wallet-empty p { color: var(--muted); }
.wallet-item .ticket { animation: none; }
.wallet-remove { display: block; margin: 10px auto 0; font-size: 12px; color: var(--muted); text-decoration: underline; }

/* ── Toast & confettis ────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--dock-h) + 24px + var(--safe-b)); z-index: 300; transform: translate(-50%, 30px); opacity: 0;
  padding: 12px 18px; border-radius: 16px; background: var(--cream); color: var(--ink); font-weight: 700; font-size: 14px; pointer-events: none;
  transition: transform .45s var(--spring), opacity .3s; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 16px 40px -10px rgba(0,0,0,.6);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.confetti { position: fixed; inset: 0; z-index: 400; pointer-events: none; width: 100%; height: 100%; }

/* ── En-tête photo des pages (cours, spectacles, masterclass, équipe) ── */
.page-hero {
  position: relative; min-height: 80svh; display: flex; align-items: flex-end; padding: 96px 0 40px;
  overflow: hidden; isolation: isolate; background: var(--green); color: var(--cream);
}
.page-hero__img {
  position: absolute; left: 0; top: 0; z-index: -2; width: 100%; height: 72%; object-fit: cover; object-position: var(--pos, 50% 40%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 100%);
  animation: pageHeroIn 1.3s var(--ease) both;
}
@keyframes pageHeroIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,43,39,.55) 0, transparent 16%, transparent 36%, rgba(0,89,83,.7) 54%, var(--green) 72%); }
.page-hero__content { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.page-hero__kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.page-hero__kicker .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--rose); animation: pulse 2s infinite; }
.page-hero__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(60px, 18vw, 200px); line-height: .84; margin: 0 0 18px; animation: lineUp .9s var(--ease) .15s backwards; }
.page-hero__title .mark { position: relative; display: inline-block; }
.page-hero__title .mark::after { content: ""; position: absolute; left: .02em; right: .04em; bottom: -.03em; height: .09em; border-radius: 99px; background: var(--rose); transform-origin: left; animation: markGrow .9s var(--ease) .7s both; }
@keyframes markGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.page-hero__sub { font-size: 17px; max-width: 40ch; color: var(--muted); margin: 0; }
.page-hero__sub b { color: var(--cream); }

/* ── Accueil : prochain spectacle, l'affiche et les infos pratiques ── */
.section.next-show { background: var(--green); color: var(--cream); }
.next-show__grid { display: grid; gap: 30px; }
.next-show .kicker { color: var(--lime); }
.next-show .title em { color: var(--rose); }
.next-show .lead { color: var(--muted); }
.next-show__poster { margin: 0; width: min(100%, 380px); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.next-show__poster img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.ns-facts { margin: 22px 0 24px; border-top: 1px solid var(--line); }
.ns-facts > div { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ns-facts dt { padding-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.ns-facts dd { margin: 0; font-size: 16px; line-height: 1.45; }
.ns-facts strong { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; }
.ns-facts small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.ns-facts a:not(.pill) { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.ns-season { display: flex; flex-wrap: wrap; gap: 8px; }
.ns-season .pill { text-decoration: none; }
.ns-season .pill--lime { color: var(--ink); }
.ns-season .is-past { opacity: .5; text-decoration: line-through; }
.next-show__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Spectacles : la saison en images ── */
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px var(--gutter) 4px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 84%; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; scroll-snap-align: center; background: var(--navy-ink); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── Diaporama automatique (accueil, Cours) ── */
.slideshow { position: relative; margin: 36px 0 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--green-ink); }
/* le diaporama, en bord de section, touche la section suivante */
.section:has(> .slideshow:last-child) { padding-bottom: 0; }
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; opacity: 0; transition: opacity 1.2s var(--ease); }
.slideshow img.is-on { opacity: 1; }
.slideshow__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slideshow__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,241,189,.55); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.slideshow__dots button.is-on { width: 24px; background: var(--cream); }
.slideshow--portrait { aspect-ratio: 4 / 5; margin-top: 8px; }

/* Coins arrondis nets pendant les animations (Safari laissait dépasser les images en carré) */
.tile > img, .tile::before, .tile::after, .photo-roll img, .filmstrip img, .posters img, .shows__poster video,
.member > img, .member::before, .member::after, .gallery img, .next-show__poster img { border-radius: inherit; }
.pillar, .course, .trial { -webkit-mask-image: -webkit-radial-gradient(white, black); }

/* Écrans tactiles : pas de flou d'arrière-plan (coûteux au défilement sur téléphone) */
@media (hover: none) {
  .topbar.is-scrolled, body:not(:has(.hero, .page-hero)) .topbar { background: rgba(0, 70, 63, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dock { background: rgba(0, 43, 39, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .next-chip { background: rgba(0, 43, 39, .7); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sheet::backdrop { background: rgba(1, 1, 42, .75); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sheet__close--float { background: rgba(1, 1, 42, .85); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Animations en pause quand leur section est hors de l'écran */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* ═══ Tablette & desktop ═════════════════════════════════════ */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .hide-mobile { display: inline-flex !important; }
  .topbar { height: 76px; }
  .brand__logo { height: 46px; }
  .hero { padding: 120px 0 56px; }
  .hero__slide { top: -14%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 100%); }
  .hero__bars { top: 84px; max-width: 1116px; margin-inline: auto; }
  .hero__wipe { bottom: 0; }

  .hero::after { background: linear-gradient(180deg, rgba(0,43,39,.5) 0, transparent 16%, transparent 40%, rgba(0,89,83,.7) 64%, var(--green) 92%),
                             linear-gradient(90deg, rgba(0,43,39,.4), transparent 55%); }

  .hero__ctas { flex-direction: row; }
  .hero__sub { font-size: 19px; }

  .marquee__track span { font-size: 44px; }
  .marquees { --h: 68px; --k1: 2.2vw; --k2: 1.4vw; --gap: 10px; --rl: -2deg; --rn: 1.2deg; }
  .section { padding: 104px 0; }
  .photo-roll figure { height: 400px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tile--wide { grid-column: 1 / -1; }
  .bigticket { grid-template-columns: 38% 1fr;
    -webkit-mask: radial-gradient(circle 18px at var(--cutx) 0, transparent 98%, #000), radial-gradient(circle 18px at var(--cutx) 100%, transparent 98%, #000);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
  .bigticket__art { aspect-ratio: auto; min-height: 100%; }
  .season__list { grid-template-columns: repeat(3, 1fr); padding: 34px 0 0; gap: 18px; }
  .season__list::before { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 3px; background: repeating-linear-gradient(90deg, var(--navy) 0 8px, transparent 8px 14px); }
  .season__item { grid-template-columns: 1fr; grid-template-areas: "date" "info" "action"; padding: 22px; align-content: start; }
  .season__item:hover { transform: translateY(-4px); }
  .season__date { text-align: left; }
  .season__date b { font-size: 84px; }
  .season__dot { left: 22px; top: -34px; margin-top: 0; }
  .bigticket__main { border-top: 0; border-left: 3px dashed rgba(5,7,86,.25); padding: 40px 44px; }
  .cours__more { display: inline-flex; width: auto; }
  .tile { min-height: 340px; }
  .tile__title { font-size: clamp(56px, 6vw, 96px); }
  body:not([data-page="accueil"]) main > section:first-child { padding-top: 150px; }
  .about { padding: 48px 0 40px; }
  .section.cours--home { padding-top: 48px; }
  .cours { padding-top: 56px; }

  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cours-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .course { padding: 30px; }
  .course__day { font-size: 104px; }
  .trial { grid-template-columns: 1fr auto; padding: 30px 150px 30px 30px; }
  .trial p { padding-right: 0; font-size: 22px; }
  .trial__sticker { width: 140px; height: 140px; right: 10px; top: 50%; margin-top: -70px; font-size: 20px; }
  .trial__sticker b { font-size: 32px; }
  .acc__t { font-size: 40px; }
  .capacity { display: flex; align-items: center; gap: 40px; }
  .capacity__goats { flex: 0 0 420px; margin: 0; }
  .filmstrip figure { flex-basis: 38%; }
  .slideshow, .slideshow.slideshow--portrait { aspect-ratio: 16 / 7; }
  .slot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot__window li { font-size: 26px; white-space: normal; line-height: .95; }
  .slot__actions .btn { flex: 0 0 auto; }
  .shows__hero { grid-template-columns: 420px 1fr; align-items: center; gap: 48px; }
  .shows__poster { aspect-ratio: 3/4; }
  .dates { grid-template-columns: repeat(3, 1fr); }
  .date-card { grid-template-columns: 1fr; padding: 22px; -webkit-mask: radial-gradient(circle 14px at 50% 0, transparent 98%, #000), radial-gradient(circle 14px at 50% 100%, transparent 98%, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
  .date-card__day { border-right: 0; border-bottom: 2px dashed rgba(0,43,39,.3); padding: 6px 0 16px; text-align: left; }
  .date-card__day b { font-size: 92px; }
  .date-card__go { position: absolute; right: 18px; bottom: 18px; }
  .date-card__main { padding-right: 56px; }
  .posters figure { flex-basis: 26%; }
  .mc-feature { grid-template-columns: 360px 1fr; padding: 24px; gap: 30px; align-items: center; }
  .mc__past { grid-template-columns: repeat(3, 1fr); }
  .mc-card { grid-template-columns: 1fr; }
  .mc-card img { width: 100%; }
  .team__deck { padding-inline: var(--gutter); scroll-snap-type: none; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1180px; margin: 0 auto; gap: 20px; }
  .member { flex: none; max-width: none; transform: none !important; }
  .team__dots { display: none; }
  .contact__grid { grid-template-columns: 1.3fr .7fr; gap: 60px; }
  .nl-card { padding: 44px; }
  .footer__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand cols social"; align-items: start; column-gap: 64px; }
  .footer { padding-bottom: 28px; }
  .footer__word { width: 150px; }
  .footer__cols { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .toast { bottom: 30px; }

  .sheet { inset: 0; margin: auto; width: min(560px, calc(100% - 48px)); max-height: min(88vh, 900px); border-radius: 30px; --sheet-y: 40px; opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
  .sheet.is-open { opacity: 1; }
  .sheet--tall { height: min(88vh, 860px); }
  .sheet__handle { height: 18px; }
  .sheet__handle::before { display: none; }
}

/* Nouveaux blocs : tablette & ordinateur */
@media (min-width: 760px) {
  .page-hero { min-height: 84vh; padding: 140px 0 64px; }
  .page-hero__img { height: 100%; -webkit-mask-image: none; mask-image: none; }
  .page-hero::after { background: linear-gradient(180deg, rgba(0,43,39,.55) 0, transparent 18%, transparent 40%, rgba(0,89,83,.72) 72%, var(--green) 100%),
                                  linear-gradient(90deg, rgba(0,43,39,.5), transparent 60%); }
  .page-hero__sub { font-size: 19px; }
  .next-show__grid { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: center; }
  .next-show__poster { width: 100%; }
  .ns-facts > div { grid-template-columns: 110px 1fr; }
  .gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; margin: 0 auto; padding: 34px var(--gutter) 0; overflow: visible; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery figure:nth-child(10) { grid-column: span 2; aspect-ratio: auto; }
  .gallery figure:first-child, .gallery figure:nth-child(10) { position: relative; }
  .gallery figure:first-child img, .gallery figure:nth-child(10) img { position: absolute; inset: 0; }
}

/* Newsletter sur toute la largeur : titre à gauche, formulaire à droite */
@media (min-width: 960px) {
  .nl-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "k f" "t f"; column-gap: 64px; align-items: start; padding: 56px; }
  .nl-card > .kicker { grid-area: k; }
  .nl-card > .title { grid-area: t; margin: 0; }
  .nl-card > .form { grid-area: f; }
}

@media (min-width: 1080px) {
  .topnav { display: flex; gap: 26px; }
  .topnav a { font-family: var(--font-display); text-transform: uppercase; font-size: 21px; letter-spacing: .03em; position: relative; }
  .topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
  .topnav a:hover::after, .topnav a.is-active::after, .topnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .burger { display: none; }
  .hero__content { display: grid; grid-template-columns: 1fr 340px; column-gap: 40px; align-items: end; }
  .hero__kicker, .hero__title { grid-column: 1 / -1; }
  .hero__sub, .hero__ctas, .next-chip { grid-column: 1; }
  .hero__ctas { margin-bottom: 0; }
  .next-chip { grid-column: 2; grid-row: 3 / span 2; align-self: end; justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .photo-roll, .chips-roll__row { overflow-x: auto; }
  .hero__stage, .fit-line, .hero__badge { translate: none; rotate: none; transform: none !important; }
  .photo-roll__track, .chips-roll__track, .reviews__track, .marquee__track { animation: none; }
  .reviews__roll { overflow-x: auto; }
}
