/* Police Exo hébergée sur le site (aucun appel à Google) */
@font-face { font-family: 'Exo'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/exo-400-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/exo-400-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/exo-300-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/exo-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/exo-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/exo-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/exo-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/exo-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/exo-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/exo-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Quitter son caillou — feuille de style unique, mobile first */
:root {
  --bg: #28474b;
  --bg-2: #233f44;
  --panel-a: #305054;
  --panel-b: #233f44;
  --panel-c: #2b4a4d;
  --text: #e8cfb4;
  --muted: #c9b39b;
  --accent: #f0ac33;
  --accent-2: #d49525;
  --blue: #dfa847;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg-2);
  color: var(--text);
  font: 400 clamp(1rem, 0.95rem + 0.25vw, 1.0625rem)/1.65 Exo, system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h2, h3 { font-family: inherit; line-height: 1.15; margin: 0; }

/* ciel étoilé discret, décoratif */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff8 50%, #0000 51%),
    radial-gradient(1px 1px at 72% 12%, #fff9 50%, #0000 51%),
    radial-gradient(1.5px 1.5px at 38% 62%, #fff7 50%, #0000 51%),
    radial-gradient(1px 1px at 88% 74%, #fff8 50%, #0000 51%),
    radial-gradient(1px 1px at 22% 88%, #fff9 50%, #0000 51%),
    linear-gradient(#1e373b, var(--bg-2));
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .72; } }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: clamp(40px, 7vw, 80px); }
section.wrap { padding-block: clamp(32px, 6vw, 64px); }
.panel { background: var(--panel-a); }
.panel-b { background: var(--panel-b); }
.panel-c { background: var(--panel-c); }
.panel .wrap { padding-block: clamp(40px, 7vw, 80px); }

h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); color: var(--accent); text-transform: uppercase; letter-spacing: .02em; margin-bottom: clamp(20px, 3vw, 32px); }
h2 small { display: block; margin-top: 6px; font-size: .6em; font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--blue); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .95rem/1 Exo, sans-serif; text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; min-height: 44px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-shop { background: var(--accent); color: #1a1205; box-shadow: 0 0 0 0 #f0ac3366; }
.btn-shop:hover, .btn-shop:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 24px #f0ac3355; background: #f0b750; }
.btn-play { background: transparent; color: var(--text); border-color: #e8cfb4aa; }
.btn-play:hover, .btn-play:focus-visible { background: #e8cfb41f; transform: translateY(-2px); }
.btn-big { font-size: 1.05rem; padding: 16px 28px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 0 var(--gutter) clamp(32px, 6vw, 64px); }
.hero-frame { width: min(1120px, 100%); margin-inline: auto; overflow: hidden; }
.hero-img { width: 100%; height: auto; border-radius: 0; scale: 1.06; translate: 0 calc((0.4 + var(--h, 0) * 2.6) * 1%); }   /* marge calculée pour ne pas rogner la ligne « présentent » du haut */
.quote { max-width: 38em; margin: clamp(20px, 4vw, 36px) auto 0; font-size: clamp(1.1rem, .9rem + 1.2vw, 1.5rem); font-style: italic; line-height: 1.4; color: var(--muted); text-align: left; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(20px, 4vw, 32px); }

/* ---------- Texte ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips span { border: 1px solid #e8cfb455; border-radius: 999px; padding: 4px 14px; font-size: .9rem; color: var(--muted); }
.cols { column-gap: 40px; column-rule: 1px dotted #e8cfb455; }
@media (min-width: 900px) { .cols { column-count: 2; } }
.lead { margin: 0; }
strong { font-weight: 700; color: inherit; }
.credits { margin-top: 32px; }
.credits summary { cursor: pointer; font-weight: 600; color: var(--accent); list-style: none; padding: 6px 0; }
.credits summary::before { content: "＋ "; }
.credits[open] summary::before { content: "－ "; }
.credits .cols { font-size: .875rem; line-height: 1.6; margin-top: 12px; }
.cg { display: block; break-inside: avoid; margin-bottom: 1.1em; }

/* ---------- Dates ---------- */
.dates { list-style: none; margin: 0; padding: 0; }
.dates li { display: grid; grid-template-columns: 1fr; gap: 0 16px; padding: 5px 12px; border-radius: 8px; font-size: .85rem; line-height: 1.4; transition: background-color .2s; }
.dates li:nth-child(odd) { background: #ffffff0a; }
.dates li:hover { background: #ffffff14; }
.dates time { color: var(--blue); font-weight: 600; font-size: .8rem; }
.dates .city { color: var(--muted); }
.dates .city::before { content: "— "; }
.dates em { color: var(--accent); font-size: .78rem; }
.dates li.past { opacity: .45; }
.dates li.next { background: #ffd60a1f; outline: 1px solid #ffd60a99; opacity: 1; position: relative; }
@media (min-width: 720px) and (max-width: 959px), (min-width: 1280px) {
  .dates li { grid-template-columns: 12.5em 1fr auto; align-items: baseline; white-space: nowrap; }
  }
.info { text-align: center; margin-top: clamp(28px, 5vw, 48px); }
.info p { color: #e8cfb4; font-style: italic; font-size: 1.1rem; margin: 0 0 8px; }
.info img { height: 90px; width: auto; margin: 0 auto; padding: 12px; transition: transform .25s; }
.info a:hover img { transform: scale(1.05); }

/* ---------- Vidéo (façade) ---------- */
.video-card {
  position: relative; display: block; width: min(100%, 1120px); aspect-ratio: 2 / 1; margin: 0 auto; padding: 0;
  border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #1a3032 center / cover;
  box-shadow: 0 20px 60px #0008;
}
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; filter: brightness(.8); }
.video-card:hover img, .video-card:focus-visible img { transform: scale(1.05); filter: brightness(1); }
.play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; display: grid; place-items: center; padding-left: 6px;
  font-size: 30px; color: #1a1205; background: var(--accent); border-radius: 50%; transition: transform .25s;
  box-shadow: 0 0 0 0 #f0ac3388; animation: pulse 2.4s ease-out infinite;
}
.video-card:hover .play { transform: scale(1.1); }
@keyframes pulse { to { box-shadow: 0 0 0 28px #f0ac3300; } }
.video-card .label { position: absolute; left: 16px; bottom: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px #000; }

/* ---------- Galeries ---------- */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 8px; }
@media (min-width: 700px) { .mosaic { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.mosaic a { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #1a3032; cursor: zoom-in; }
.mosaic a.big { grid-area: span 2 / span 2; aspect-ratio: auto; }
.mosaic a.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.mosaic img { height: 100%; object-fit: cover; scale: 1.3; translate: 0 calc(var(--p, 0) * -12%); }
.mosaic img, .posters img { width: 100%; transition: transform .5s ease, filter .3s; }
.mosaic a:hover img, .mosaic a:focus-visible img, .posters a:hover img { transform: scale(1.05); filter: brightness(1.08); }

/* ---------- Personnages ---------- */
.characters { display: grid; gap: 28px 40px; }
@media (min-width: 760px) { .characters { grid-template-columns: 1fr 1fr; } }
.characters h3 { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); text-transform: uppercase; }
.characters p { font-style: italic; margin: 8px 0 0; font-size: .98rem; line-height: 1.55; }
#musique iframe { width: 100%; border: 0; border-radius: var(--radius); }

/* ---------- Équipe ---------- */
.bio { display: grid; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid #ffffff14; }
.bio:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.bio img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.bio h3 { color: var(--accent-2); font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem); text-transform: uppercase; margin-bottom: 14px; }
.bio h3 small { display: block; margin-top: 4px; font-size: .55em; letter-spacing: .04em; color: var(--blue); font-weight: 600; }
.bio-text { font-size: .98rem; }
@media (min-width: 900px) {
  .bio { grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
  .bio-text { column-count: 2; column-gap: 32px; }
}

/* ---------- Affiches ---------- */
.posters { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.posters a { flex: 0 0 min(72%, 320px); scroll-snap-align: center; border-radius: 8px; overflow: hidden; cursor: zoom-in; box-shadow: 0 12px 40px #0006; }
@media (min-width: 900px) { .posters { overflow: visible; justify-content: center; } .posters a { flex: 1 1 0; max-width: 340px; } }
.shop { text-align: center; margin-top: clamp(24px, 4vw, 40px); }

/* ---------- Remerciements & logos ---------- */
.thanks { font-size: .875rem; line-height: 1.6; color: var(--text); }
.thanks p { margin: 0 0 1em; break-inside: avoid; }
@media (min-width: 900px) { .thanks .col-break { break-before: column; } }
.logos { --g: clamp(10px, 2vw, 24px); --n: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(0px, 1vw, 8px) var(--g); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 560px) { .logos { --n: 4; } }
@media (min-width: 900px) { .logos { --n: 6; } }
.logos img { flex: 0 0 auto; width: clamp(136px, 17.6vw, 210px); aspect-ratio: 1 / 1; object-fit: contain; opacity: 1; transition: opacity .25s, transform .25s; }
.logos img:hover { opacity: 1; transform: scale(1.08); }

/* ---------- Voir aussi ---------- */
.also-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .also-grid { grid-template-columns: 1fr 1fr; } }
.also-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.also-card img { width: 100%; transition: transform .5s ease; }
.also-card:hover img { transform: scale(1.05); }
.also-card span { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 700; text-shadow: 0 1px 8px #000; }

footer { text-align: center; padding: 32px var(--gutter) 48px; color: var(--muted); font-size: .85rem; }

/* ---------- Lightbox & lecteur (fond assombri) ---------- */
dialog { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: #fff; }
dialog[open] { display: flex; align-items: center; justify-content: center; animation: fade .25s ease; }
dialog::backdrop { background: rgb(4 7 16 / .6); }
@keyframes fade { from { opacity: 0; } }
#lightbox figure { margin: 0; max-width: 100%; text-align: center; }
#lightbox img { max-width: min(86vw, 1200px); max-height: 72svh; width: auto; height: auto; margin-inline: auto; border-radius: 6px; transition: opacity .2s; touch-action: pan-y; }
#lightbox img.loading { opacity: 0; }
#lightbox figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.lb-close, .lb-nav {
  position: fixed; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: #ffffff1f; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background-color .2s;
}
.lb-close:hover, .lb-nav:hover { background: #ffffff40; }
.lb-close { top: max(12px, env(safe-area-inset-top)); right: 12px; font-size: 32px; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
@media (max-width: 600px) { .lb-nav { top: auto; bottom: 14px; translate: 0; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }
#lightbox.single .lb-nav { display: none; }
#player .frame { width: min(80vw, calc(60svh * .8)); aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 30px 80px #000a; }
#player iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
/* images : apparition une à une, avec un petit mouvement vers le haut */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .8s ease var(--d, 0ms), transform .9s cubic-bezier(.22,.8,.24,1) var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Carte (SVG maison, sans service externe) ---------- */
.dates-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .dates-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
#map { position: relative; width: 100%; }
@media (max-width: 959px) {
  .map-box { display: contents; }
  #map { position: sticky; top: 0; z-index: 6; width: min(100%, calc(36svh * 0.95)); margin: 0 auto; background: var(--panel-b); box-shadow: 0 10px 14px -6px var(--panel-b); }
  .dates-layout { gap: 12px; }
}
#map img, #map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { cursor: pointer; }
.pin .core { fill: #e8cfb4; stroke: #233f44; stroke-width: 4; transition: transform .2s, opacity .2s; transform-box: fill-box; transform-origin: center; }
.pin .halo { fill: #e8cfb4; opacity: .18; }
.pin .hit { fill: transparent; }
.pin.past .core { opacity: .3; } .pin.past .halo { opacity: 0; }
.pin.cancelled .core { fill: #8a8f9c; opacity: .3; } .pin.cancelled .halo { opacity: 0; }
.pin.next .core { fill: #ffd60a; } .pin.next .halo { fill: #ffd60a; animation: ping 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.pin.hot .core { transform: scale(1.7); opacity: 1; }
@keyframes ping { from { transform: scale(1); opacity: .5; } to { transform: scale(3); opacity: 0; } }
.tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; background: #1e373b; color: var(--text); border: 1px solid #ffffff33; border-radius: 8px; padding: 6px 10px; font-size: .85rem; line-height: 1.35; white-space: nowrap; box-shadow: 0 6px 20px #0008; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: #e8cfb4; }
.dot.next { background: #ffd60a; } .dot.past { opacity: .35; } .dot.cancel { background: #8a8f9c; opacity: .45; }
.legend .dot:not(:first-child) { margin-left: 8px; }
.dates li.hot { background: #ffffff1f; }
.dates li[data-cancelled] { opacity: .5; }
.dates li[data-cancelled] time, .dates li[data-cancelled] span { text-decoration: line-through; }
.dates li[data-cancelled] em { color: #ff8a80; font-weight: 700; font-size: .8rem; }

/* ---------- Invitation pro ---------- */
#invite .sheet { width: min(520px, 100% - 24px); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--bg-2); border: 1px solid #ffffff1f; border-radius: var(--radius); box-shadow: 0 30px 80px #000a; padding: clamp(18px, 4vw, 32px); }
#invite h3 { margin: 0 0 4px; font-size: 1.4rem; color: var(--accent); text-transform: uppercase; }
#invite .for { margin: 0 0 16px; color: var(--blue); font-weight: 600; }
#invite form { display: grid; gap: 12px; }
#invite .row2 { display: grid; gap: 12px; }
@media (min-width: 480px) { #invite .row2 { grid-template-columns: 1fr 1fr; } }
#invite label { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
#invite input:not([type="checkbox"]), #invite textarea { font: inherit; font-size: 1rem; color: var(--text); background: #1e373b; border: 1px solid #ffffff33; border-radius: 8px; padding: 10px 12px; width: 100%; }
#invite input:focus, #invite textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
#invite .check { display: flex; gap: 10px; align-items: flex-start; }
#invite .check input { margin-top: 3px; flex: none; }
#invite .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#invite .err { margin: 0; color: #ff8a80; font-size: .9rem; }
#invite .err a { color: inherit; }
#invite .ok { margin: 8px 0 0; font-size: 1.05rem; }
#invite button[disabled] { opacity: .6; cursor: progress; }

.pro { margin: 12px 0 0; }
.invite-link { font: 600 .9rem/1.3 Exo, sans-serif; color: var(--text); background: #ffffff10; border: 1px solid #e8cfb455; border-radius: 12px; padding: 10px 14px; text-align: left; transition: background-color .2s, border-color .2s; }
.invite-link b { color: var(--accent); }
.invite-link:hover, .invite-link:focus-visible { background: #ffffff1c; border-color: var(--accent); }
#invite select { font: inherit; font-size: 1rem; color: var(--text); background: #1e373b; border: 1px solid #ffffff33; border-radius: 8px; padding: 10px 12px; width: 100%; }
#invite .datesel { color: var(--blue); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .hero-img, .mosaic img, .video-card img { scale: 1; translate: none; } }

/* pack de 3 affiches au-dessus du bouton boutique */
.pack-vis { display: block; position: relative; height: clamp(190px, 46vw, 260px); width: min(100%, 420px); margin: clamp(24px, 4vw, 40px) auto 0; }
.pack-vis img { position: absolute; bottom: 0; height: 90%; width: auto; border-radius: 6px; box-shadow: 0 10px 26px #0009; border: 1px solid #ffffff22; transition: transform .3s; }
.pack-vis img:nth-child(1) { left: 2%; transform: rotate(-7deg); transform-origin: bottom center; }
.pack-vis img:nth-child(2) { left: 50%; translate: -50% 0; height: 100%; z-index: 2; }
.pack-vis img:nth-child(3) { right: 2%; transform: rotate(7deg); transform-origin: bottom center; }
.pack-vis:hover img:nth-child(1) { transform: rotate(-10deg); } .pack-vis:hover img:nth-child(3) { transform: rotate(10deg); }
.pack-vis + .shop { margin-top: 20px; }

/* téléphone : pas de carte, seulement l'agenda et la demande d'invitation */
@media (max-width: 640px) {
  #map, .legend { display: none; }
}

/* légende de la carte : interrupteurs */
.legend { gap: 8px; }
.legend .tg { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 99px; border: 1px solid #ffffff33; background: #ffffff0f; color: var(--text); font: inherit; cursor: pointer; transition: background-color .2s, opacity .2s; }
.legend .tg:hover { background: #ffffff1c; }
.legend .tg[aria-pressed="false"] { opacity: .5; background: transparent; text-decoration: line-through; }
.legend .tg .dot { margin: 0 !important; }
#map.hide-next .pin.next, #map.hide-up .pin.up, #map.hide-past .pin.past { display: none; }

/* crédits sous les mosaïques */
.credit { margin: 14px 0 0; font-size: .85rem; color: var(--muted); text-align: right; }

/* nombre impair de créations : la dernière est centrée, à demi-largeur */
@media (min-width: 760px) { .also-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; } }

/* ===== Quitter son caillou ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mosaic a.tall { grid-row: span 2; aspect-ratio: auto; }
.characters { grid-template-columns: 1fr; }
@media (min-width: 760px) { .characters { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .characters { grid-template-columns: repeat(3, 1fr); } }
.characters h3 small { display: block; margin-top: 4px; font-size: .55em; letter-spacing: .04em; color: var(--blue); font-weight: 600; }
h2 small { margin-left: .8em; }
/* saisons : un bloc repliable par saison */
.seasons { display: grid; gap: 10px; }
details.season { border: 1px solid #ffffff1a; border-radius: 12px; padding: 4px 6px 8px; }
details.season > summary { cursor: pointer; list-style: none; padding: 8px 12px; font-weight: 700; color: var(--accent); display: flex; align-items: baseline; gap: 10px; }
details.season > summary::-webkit-details-marker { display: none; }
details.season > summary::before { content: "＋"; font-weight: 400; }
details.season[open] > summary::before { content: "－"; }
details.season > summary small { margin-left: auto; font-weight: 400; color: var(--muted); font-size: .8rem; }
details.season .dates { margin-top: 2px; }
@media (min-width: 960px) { .map-box { position: sticky; top: 24px; } }
.pin .core { stroke-width: 3; }
/* ils en parlent */
.press { display: grid; gap: clamp(20px, 3vw, 32px); margin-top: 8px; }
@media (min-width: 900px) { .press { grid-template-columns: 1fr 1fr; } .press blockquote:first-child { grid-column: 1 / -1; } }
.press blockquote { margin: 0; padding: 22px 24px; border-left: 3px solid var(--accent); background: #ffffff0a; border-radius: 0 var(--radius) var(--radius) 0; }
.press blockquote p { margin: 0 0 12px; font-style: italic; font-size: .98rem; line-height: 1.6; }
.press footer { padding: 0; text-align: left; font-size: .85rem; color: var(--muted); }
.press footer strong { color: var(--text); }
/* écoute */
.listen { text-align: center; }
.listen h2 { margin-bottom: 8px; }
.listen p { margin: 0 0 18px; color: var(--muted); }
/* mosaïque « Sur scène » : grandes photos, tailles variées, section plus large que le texte */
.scene { --mw: min(1120px, 100vw - 2 * var(--gutter)); }
.scene img { scale: 1.1; }
@media (min-width: 700px) {
  .scene { grid-template-columns: repeat(6, 1fr); grid-auto-rows: calc((var(--mw) - 60px) / 6 * .72); gap: 12px; }
  .scene a { aspect-ratio: auto; }
  .scene a:nth-child(1) { grid-area: 1 / 1 / 5 / 5; }
  .scene a:nth-child(2) { grid-area: 1 / 5 / 3 / 7; }
  .scene a:nth-child(3) { grid-area: 3 / 5 / 5 / 7; }
  .scene a:nth-child(4) { grid-area: 5 / 1 / 7 / 3; }
  .scene a:nth-child(5) { grid-area: 5 / 3 / 7 / 5; }
  .scene a:nth-child(6) { grid-area: 5 / 5 / 7 / 7; }
  .scene a:nth-child(7) { grid-area: 7 / 1 / 9 / 3; }
  .scene a:nth-child(8) { grid-area: 9 / 1 / 11 / 3; }
  .scene a:nth-child(9) { grid-area: 7 / 3 / 11 / 7; }
}
@media (max-width: 699px) {
  .scene a:nth-child(1), .scene a:nth-child(9) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}
.cerf { width: min(1120px, 100% - 2 * var(--gutter)); margin: clamp(32px, 6vw, 72px) auto clamp(32px, 6vw, 72px); overflow: hidden; background: #1a3032; border-radius: var(--radius); }
.cerf img { display: block; width: 100%; height: auto; }
.info img { height: 70px; }
.hero h1.sr { margin: 0; }
/* en-tête : l'illustration en affiche (proportions d'origine) avec le titre et la phrase par-dessus */
.poster { padding: 0 var(--gutter) clamp(32px, 6vw, 64px); background: #001E2D; }
.poster-frame { position: relative; width: min(1120px, 100%); margin: 0 auto; container-type: inline-size; }
.poster-img { display: block; width: 100%; height: auto; }
.poster-frame .hero-title { position: absolute; top: calc(.5% + 20px); left: 50%; transform: translateX(-50%); width: 62%; margin: 0; }
.poster-frame .quote { position: absolute; left: 4%; right: 4%; bottom: 3.2%; margin: 0; max-width: none; text-align: left; color: var(--text); font-size: clamp(.78rem, 2.5cqw, 1.6rem); line-height: 1.38; text-shadow: 0 1px 10px #1a3032; }

/* mosaïque « Sur scène » : grandes photos, tailles variées, section plus large que le texte */
.scene { --mw: min(1120px, 100vw - 2 * var(--gutter)); }
.scene img { scale: 1.1; }
@media (min-width: 700px) {
  .scene { grid-template-columns: repeat(6, 1fr); grid-auto-rows: calc((var(--mw) - 60px) / 6 * .72); gap: 12px; }
  .scene a { aspect-ratio: auto; }
  .scene a:nth-child(1) { grid-area: 1 / 1 / 5 / 5; }
  .scene a:nth-child(2) { grid-area: 1 / 5 / 3 / 7; }
  .scene a:nth-child(3) { grid-area: 3 / 5 / 5 / 7; }
  .scene a:nth-child(4) { grid-area: 5 / 1 / 7 / 3; }
  .scene a:nth-child(5) { grid-area: 5 / 3 / 7 / 5; }
  .scene a:nth-child(6) { grid-area: 5 / 5 / 7 / 7; }
  .scene a:nth-child(7) { grid-area: 7 / 1 / 9 / 3; }
  .scene a:nth-child(8) { grid-area: 9 / 1 / 11 / 3; }
  .scene a:nth-child(9) { grid-area: 7 / 3 / 11 / 7; }
}
@media (max-width: 699px) {
  .scene a:nth-child(1), .scene a:nth-child(9) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}
.cerf { width: min(1120px, 100% - 2 * var(--gutter)); margin: clamp(32px, 6vw, 72px) auto clamp(32px, 6vw, 72px); overflow: hidden; background: #1a3032; border-radius: var(--radius); }
.cerf img { display: block; width: 100%; height: auto; }
.info img { height: 70px; }
.hero h1.sr { margin: 0; }
/* en-tête haut : grande illustration plein cadre + titre, comme sur l'ancien site */
.hero-tall { position: relative; min-height: clamp(680px, 84vw, 1000px); padding: 0 0 clamp(32px, 5vw, 56px); overflow: hidden; display: flex; justify-content: center; align-items: flex-start; isolation: isolate; }
.hero-tall::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#1a303255, #1a303200 30%, #1a303200 55%, #1a3032aa 100%); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; z-index: -2; }
.hero-in { width: min(1120px, 100% - 2 * var(--gutter)); padding-top: clamp(28px, 6vw, 72px); text-align: center; }
.hero-title { width: min(738px, 88%); margin: 0 auto; }
.hero-tall .quote { color: var(--text); text-shadow: 0 2px 14px #1a3032cc, 0 0 3px #1a3032; text-align: center; margin-inline: auto; }

/* petit fondu du bas de l'image vers le fond, sous la citation */
.poster-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(#001E2D00, #001E2D); pointer-events: none; }
.poster-frame .quote { z-index: 1; }
/* bande pleine largeur 09081E autour de la photo du cerf */
.cerf { width: 100%; margin: 0; padding: clamp(32px, 6vw, 72px) var(--gutter); height: auto; background: #09081E; border-radius: 0; overflow: visible; }
.cerf img { width: min(1120px, 100%); margin: 0 auto; border-radius: var(--radius); }
/* lecteur Bandcamp intégré */
#musique .bandcamp { display: block; width: min(100%, 700px); height: 472px; border: 0; margin: 0 auto 18px; border-radius: var(--radius); }
/* montage d'illustrations (paysage) pour la boutique */
.pack-vis.land { width: min(100%, 640px); height: clamp(190px, 44vw, 330px); }
.pack-vis.land img { height: auto; width: 56%; bottom: 6%; }
.pack-vis.land img:nth-child(1) { left: 0; }
.pack-vis.land img:nth-child(2) { width: 62%; height: auto; bottom: 0; }
.pack-vis.land img:nth-child(3) { right: 0; }
/* légende de la carte : interrupteurs */
.legend { gap: 8px; }
.legend .tg { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 99px; border: 1px solid #ffffff33; background: #ffffff0f; color: var(--text); font: inherit; cursor: pointer; transition: background-color .2s, opacity .2s; }
.legend .tg:hover { background: #ffffff1c; }
.legend .tg[aria-pressed="false"] { opacity: .5; background: transparent; text-decoration: line-through; }
.legend .tg .dot { margin: 0 !important; }
#map.hide-next .pin.next, #map.hide-up .pin.up, #map.hide-past .pin.past { display: none; }
/* crédits sous les mosaïques */
.credit { margin: 14px 0 0; font-size: .85rem; color: var(--muted); text-align: right; }
.scene + .credit { width: min(1120px, 100%); margin-inline: auto; }
/* liste des soutiens : pas de coupure au milieu d'un nom */
.thanks .sup { display: block; margin-bottom: .45em; }
.thanks .sup small { display: block; font-size: .85em; color: var(--muted); }
/* teaser en 16:9 */
.video-card { aspect-ratio: 16 / 9; }
#player .frame { width: min(92vw, 1100px, calc(85svh * 16 / 9)); aspect-ratio: 16 / 9; }

/* icônes en SVG : identiques sur téléphone et ordinateur (les glyphes ▶ ↗ ↓ deviennent des emojis sur mobile) */
.ic { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ic-play { fill: currentColor; stroke: none; }
.play .ic { width: 1em; height: 1em; }
