/* ==========================================================================
   Graines de Rue — feuille de style
   Palette tirée du logo : rouge chapiteau, jaune du tronc, encre, papier.
   ========================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #f7f0e1;
  --paper-2: #efe3c8;
  --paper-3: #e6d5b0;
  --white: #fffdf7;
  --ink: #1d1a16;
  --ink-2: #4a433a;
  --ink-3: #6f665a;
  --red: #c8202f;
  --red-2: #e03a47;
  --yellow: #ffc83a;
  --yellow-2: #ffe08a;
  --teal: #1b625e;
  --teal-2: #2c8a83;
  --line: rgba(29, 26, 22, .14);

  --f-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 14px;
  --shadow: 0 1px 0 rgba(29,26,22,.08), 0 12px 30px -12px rgba(29,26,22,.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
/* grain papier */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .22; mix-blend-mode: multiply;
  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 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.01em; }
h4 { font-size: 1.1rem; letter-spacing: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--red { background: var(--red); color: var(--white); }
.section--teal { background: var(--teal); color: var(--white); }
.section--yellow { background: var(--yellow); color: var(--ink); }

/* ---------- petits éléments typographiques ---------- */
.hand { font-family: var(--f-hand); font-weight: 700; font-size: 1.5em; line-height: 1; letter-spacing: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-hand); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--red); line-height: 1; margin-bottom: .35em; transform: rotate(-2deg); transform-origin: left;
}
.section--ink .kicker, .section--red .kicker, .section--teal .kicker { color: var(--yellow); }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.section--ink .lead, .section--red .lead, .section--teal .lead { color: inherit; opacity: .92; }
.muted { color: var(--ink-3); }
.prose { max-width: 68ch; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }
.prose em { font-style: italic; }

/* surlignage "marqueur" dessiné à la main */
.mark {
  position: relative; white-space: nowrap; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M4 26 C 60 14, 120 30, 180 18 S 270 22, 296 14 L 294 34 C 230 38, 170 30, 110 36 S 30 38, 6 36 Z' fill='%23ffc83a'/%3E%3C/svg%3E") bottom / 100% 55% no-repeat;
  padding-inline: .05em;
}
.squiggle {
  display: block; width: 140px; height: 14px; margin: .2em 0 1.2em; color: var(--red);
}

/* ---------- boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { color: var(--fg); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn--paper { --bg: var(--white); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); }
.section--ink .btn, .section--red .btn, .section--teal .btn { border-color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* pastilles / étiquettes */
.tag {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .28em .75em; border-radius: 999px; font-size: .82rem; font-weight: 700; line-height: 1.2;
  background: var(--paper-2); color: var(--ink); border: 1.5px solid var(--ink);
}
.tag--red { background: var(--red); color: #fff; }
.tag--yellow { background: var(--yellow); }
.tag--teal { background: var(--teal); color: #fff; }
.tag--live { background: var(--red); color: #fff; animation: pulse 2s infinite; }
.tag--past { background: transparent; color: var(--ink-3); border-color: var(--ink-3); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(200,32,47,.18); } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   Bandeau d'annonce + en-tête
   ========================================================================== */
.announce {
  background: var(--ink); color: var(--paper); font-size: .92rem; text-align: center;
  padding: .55em var(--gutter); position: relative; z-index: 60;
}
.announce a { color: var(--yellow); font-weight: 700; margin-left: .5em; }
.announce a:hover { color: #fff; }

.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247, 240, 225, .9); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 2px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--ink); }
.header__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 50px; height: 54px; object-fit: contain; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand__name { font-family: var(--f-hand); font-weight: 700; font-size: 2rem; line-height: .8; }
.brand__name small { display: block; font-family: var(--f-body); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .5em .8em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem;
  position: relative; white-space: nowrap;
}
.nav__link:hover { background: var(--paper-2); color: var(--ink); }
.nav__link[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav__cta { margin-left: 10px; padding: .65em 1.1em; font-size: .95rem; white-space: nowrap; flex: none; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); align-items: center; justify-content: center; box-shadow: 2px 2px 0 var(--ink); }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  /* backdrop-filter créerait un bloc conteneur pour le menu plein écran */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1; margin: 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px;
    padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
    background: var(--yellow);
    clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path .5s var(--ease); visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 8vw, 3rem); padding: .08em 0; border-radius: 0; letter-spacing: -.02em; }
  .nav__link:hover, .nav__link[aria-current="page"] { background: none; color: var(--red); }
  .nav__cta { margin-left: 0; font-size: 1.1rem; }
  .menu-open { overflow: hidden; }
  .menu-open .header { background: var(--yellow); }
}

/* ==========================================================================
   Héro accueil
   ========================================================================== */
.hero { position: relative; padding-block: clamp(40px, 7vw, 90px) clamp(70px, 10vw, 130px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); line-height: .92; letter-spacing: -.035em; margin-bottom: .35em; }
.hero__text { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 44ch; }
.hero__tree { position: absolute; right: -140px; top: -60px; width: 560px; opacity: .07; pointer-events: none; transform: rotate(12deg); }

.collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; margin-inline: auto; width: 100%; }
.polaroid {
  position: absolute; background: var(--white); padding: 10px 10px 34px; box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 12px; right: 12px; bottom: 6px; font-family: var(--f-hand); font-weight: 700; font-size: 1.2rem; line-height: 1; color: var(--ink-2); }
.polaroid::before { /* scotch */
  content: ""; position: absolute; width: 90px; height: 26px; top: -12px; left: 50%; translate: -50% 0; rotate: -4deg;
  background: rgba(255, 224, 138, .78); box-shadow: 0 1px 2px rgba(0,0,0,.08);
  clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%);
}
.collage .polaroid:nth-child(1) { width: 62%; height: 50%; left: 0; top: 2%; rotate: -5deg; z-index: 1; }
.collage .polaroid:nth-child(2) { width: 50%; height: 46%; right: 0; top: 20%; rotate: 6deg; z-index: 2; }
.collage .polaroid:nth-child(3) { width: 54%; height: 40%; left: 6%; bottom: 0; rotate: -1.5deg; z-index: 3; }
.collage:hover .polaroid:nth-child(1) { transform: translate(-6px, -4px) rotate(-2deg); }
.collage:hover .polaroid:nth-child(2) { transform: translate(6px, -2px) rotate(3deg); }

/* macaron tournant */
.sticker {
  position: absolute; z-index: 5; width: 150px; height: 150px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  text-decoration: none; transition: transform .3s var(--ease);
}
.sticker:hover { color: #fff; transform: scale(1.06) rotate(-6deg); }
.sticker svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.sticker svg.ring text { font: 700 11.5px var(--f-body); letter-spacing: .2em; text-transform: uppercase; fill: #fff; }
.sticker__center { text-align: center; line-height: .9; font-family: var(--f-display); font-weight: 800; font-size: 2.3rem; }
.sticker__center small { display: block; font-family: var(--f-hand); font-size: 1.15rem; font-weight: 700; color: var(--yellow); }
.collage .sticker { right: -8px; bottom: 6%; }
@keyframes spin { to { rotate: 360deg; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .collage { max-width: 440px; }
  .sticker { width: 120px; height: 120px; }
  .sticker__center { font-size: 1.8rem; }
}

/* ==========================================================================
   Bande défilante
   ========================================================================== */
.ribbon { background: var(--red); color: var(--white); border-block: 3px solid var(--ink); transform: rotate(-1.6deg); margin: -34px -20px 0; position: relative; z-index: 4; overflow: hidden; }
.ribbon--yellow { background: var(--yellow); color: var(--ink); transform: rotate(1.2deg); }
.ribbon__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon__item { display: inline-flex; align-items: center; gap: 28px; padding: 14px 14px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.9rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.ribbon__item svg { width: 26px; height: 26px; color: var(--yellow); flex: none; }
.ribbon--yellow .ribbon__item svg { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* bord déchiré en bas d'une section */
.torn { position: relative; }
.torn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px; background: var(--tear, var(--paper));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L0 12 L14 16 L26 8 L41 14 L55 6 L68 13 L83 9 L97 17 L110 7 L126 12 L139 5 L152 14 L168 9 L181 15 L197 6 L210 12 L226 8 L239 16 L253 10 L268 14 L281 5 L296 12 L310 9 L323 16 L339 7 L352 13 L366 8 L381 15 L400 9 L400 22 Z'/%3E%3C/svg%3E") bottom / 400px 22px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L0 12 L14 16 L26 8 L41 14 L55 6 L68 13 L83 9 L97 17 L110 7 L126 12 L139 5 L152 14 L168 9 L181 15 L197 6 L210 12 L226 8 L239 16 L253 10 L268 14 L281 5 L296 12 L310 9 L323 16 L339 7 L352 13 L366 8 L381 15 L400 9 L400 22 Z'/%3E%3C/svg%3E") bottom / 400px 22px repeat-x;
}

/* ==========================================================================
   En-tête des pages intérieures
   ========================================================================== */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); background: var(--c, var(--teal)); color: var(--white); overflow: hidden; }
.page-hero--red { --c: var(--red); }
.page-hero--yellow { --c: var(--yellow); color: var(--ink); }
.page-hero--ink { --c: var(--ink); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.page-hero h1 { margin-bottom: .25em; }
.page-hero .kicker { color: var(--yellow); }
.page-hero--yellow .kicker { color: var(--red); }
.page-hero .lead { color: inherit; opacity: .94; }
.page-hero__photo { position: relative; }
.page-hero__photo .polaroid { position: relative; rotate: 3deg; aspect-ratio: 4 / 3.2; }
.page-hero__deco { position: absolute; right: -60px; bottom: -80px; width: 380px; opacity: .12; pointer-events: none; rotate: -10deg; filter: grayscale(1) brightness(3); }
.page-hero--yellow .page-hero__deco { filter: none; opacity: .14; }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__photo { max-width: 420px; }
}

/* sommaire de page (ancres) */
.subnav { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); }
.subnav__in { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; text-decoration: none; font-weight: 700; font-size: .92rem; padding: .45em .95em; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--white); }
.subnav a:hover, .subnav a.is-active { background: var(--ink); color: var(--paper); }

/* ==========================================================================
   Grilles génériques
   ========================================================================== */
.grid { display: grid; gap: clamp(18px, 2.5vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(26px, 4vw, 48px); }
.section-head h2 { margin: 0; }

.card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink); }

/* ==========================================================================
   Agenda (tickets)
   ========================================================================== */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.ticket {
  display: grid; grid-template-columns: 96px 1fr; text-decoration: none; color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); position: relative; overflow: hidden;
}
a.ticket:hover { color: var(--ink); transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: 7px 7px 0 var(--ink); }
.ticket__date { background: var(--yellow); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 6px; border-right: 2px dashed var(--ink); text-align: center; }
.ticket:nth-child(3n+2) .ticket__date { background: var(--red); color: #fff; }
.ticket:nth-child(3n+3) .ticket__date { background: var(--teal); color: #fff; }
.ticket__day { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: .9; }
.ticket__month { font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.ticket__wd { font-family: var(--f-hand); font-weight: 700; font-size: 1.1rem; line-height: 1; margin-bottom: 2px; }
.ticket__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.ticket__type { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.ticket__title { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; line-height: 1.05; }
.ticket__meta { font-size: .92rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.ticket__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ticket__meta svg { width: 15px; height: 15px; }
.empty { padding: 28px; border: 2px dashed var(--ink-3); border-radius: var(--radius); text-align: center; color: var(--ink-2); }
.empty .hand { display: block; color: var(--red); margin-bottom: 8px; }

/* ==========================================================================
   Portes d'entrée (accueil)
   ========================================================================== */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); }
@media (max-width: 900px) { .doors { grid-template-columns: minmax(0, 1fr); } }
.door {
  --c: var(--red); display: flex; flex-direction: column; text-decoration: none; color: #fff;
  background: var(--c); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 5px 5px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.door:nth-child(2) { --c: var(--yellow); color: var(--ink); }
.door:nth-child(3) { --c: var(--teal); }
.door:hover { color: inherit; transform: translate(-3px, -4px) rotate(-.8deg); box-shadow: 8px 9px 0 var(--ink); }
.door:nth-child(2):hover { transform: translate(-3px, -4px) rotate(.8deg); color: var(--ink); }
.door:nth-child(odd):hover { color: #fff; }
.door__img { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); }
.door__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.door:hover .door__img img { transform: scale(1.06); }
.door__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.door__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0; }
.door__body p { margin: 0; opacity: .95; }
.door__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.door__go svg { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.door:hover .door__go svg { transform: translateX(6px); }

/* chiffres */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .figures { grid-template-columns: repeat(2, 1fr); } }
.figure { border-top: 3px solid currentColor; padding-top: 16px; }
.figure__v { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: .9; letter-spacing: -.04em; color: var(--yellow); }
.figure__l { font-family: var(--f-hand); font-weight: 700; font-size: 1.45rem; line-height: 1.05; margin-top: 8px; }

/* vidéo (chargée au clic, sans cookie) */
.video { position: relative; aspect-ratio: 16 / 9; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { position: absolute; inset: 0; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.video__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .3s, transform .6s var(--ease); }
.video__btn:hover img { opacity: .9; transform: scale(1.03); }
.video__play { position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--ease); }
.video__btn:hover .video__play { transform: scale(1.08); }
.video__play svg { width: 34px; height: 34px; margin-left: 5px; }
.video__note { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; font-size: .78rem; opacity: .9; text-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* bandeau d'appel */
.cta-band { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.cta-band__img { width: clamp(120px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); rotate: -4deg; }
.cta-band__img img { width: 100%; height: 100%; object-fit: cover; }
.cta-band h2 { margin-bottom: .2em; }
@media (max-width: 820px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* bande logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.logo-tile { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
a.logo-tile:hover { transform: translateY(-3px) rotate(-1deg); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.logo-tile img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* ==========================================================================
   Affiche typographique générée (quand il n'y a pas de photo)
   ========================================================================== */
.poster {
  --bg: var(--red); --fg: #fff; --acc: var(--yellow);
  position: relative; overflow: hidden; background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; min-height: 100%;
  isolation: isolate;
}
.poster--1 { --bg: var(--yellow); --fg: var(--ink); --acc: var(--red); }
.poster--2 { --bg: var(--teal); --fg: #fff; --acc: var(--yellow); }
.poster--3 { --bg: var(--ink); --fg: var(--paper); --acc: var(--red); }
.poster::before { /* motif */
  content: ""; position: absolute; inset: -20%; z-index: -1; opacity: .22;
  background: repeating-linear-gradient(-35deg, var(--acc) 0 14px, transparent 14px 40px);
}
.poster--1::before { background: radial-gradient(circle, var(--acc) 3px, transparent 3.5px) 0 0 / 22px 22px; opacity: .35; }
.poster--2::before { background: repeating-radial-gradient(circle at 80% 20%, var(--acc) 0 3px, transparent 3px 22px); opacity: .3; }
.poster--3::before { background: conic-gradient(from 0deg at 85% 15%, var(--acc) 0 12deg, transparent 12deg 30deg) ; background-size: 100% 100%; opacity: .25; }
.poster__sun { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--acc); opacity: .9; z-index: -1; }
.poster__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: .86; letter-spacing: -.03em; word-break: break-word; hyphens: auto; rotate: -3deg; transform-origin: left bottom; margin-bottom: 10px; }
.poster__sub { font-family: var(--f-hand); font-weight: 700; font-size: 1.5rem; line-height: 1; }

/* ==========================================================================
   Festival
   ========================================================================== */
.edition-badge { display: inline-flex; align-items: baseline; gap: .3em; font-family: var(--f-display); font-weight: 800; }
.edition-badge b { font-size: 1.4em; color: var(--yellow); }
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius); background: rgba(255,255,255,.12); border: 2px dashed rgba(255,255,255,.55); font-weight: 600; }
.status svg { width: 22px; height: 22px; flex: none; }
.page-hero--yellow .status { background: rgba(255,255,255,.4); border-color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { border: 1.5px solid var(--ink); background: var(--white); border-radius: 999px; padding: .45em .95em; font-weight: 700; font-size: .92rem; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.shows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.show { display: flex; flex-direction: column; overflow: hidden; }
.show__media { aspect-ratio: 4 / 3; border-bottom: 2px solid var(--ink); overflow: hidden; }
.show__media img { width: 100%; height: 100%; object-fit: cover; }
.show__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.show__body h3 { margin: 0; }
.show__cie { font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--red); }
.show__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.show__body p { margin: 0; font-size: .98rem; color: var(--ink-2); }
.show__body .link-arrow { margin-top: auto; align-self: flex-start; }

.infos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .infos { grid-template-columns: minmax(0, 1fr); } }
.info { padding: 24px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.info__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; }
.info:nth-child(2) .info__icon { background: var(--red); color: #fff; }
.info:nth-child(3) .info__icon { background: var(--teal); color: #fff; }
.info__icon svg { width: 26px; height: 26px; }
.info h3 { margin-bottom: .3em; }
.info p:last-child { margin-bottom: 0; }

.faq { max-width: 820px; }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: rotate .25s var(--ease), background .2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--yellow); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }

.plan { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 5px 5px 0 var(--ink); background: #fff; }
.plan button { display: block; border: 0; padding: 0; background: none; width: 100%; }
.plan img { width: 100%; }

/* ==========================================================================
   Résidences
   ========================================================================== */
.network { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-bottom: clamp(36px, 5vw, 60px); }
@media (max-width: 860px) { .network { grid-template-columns: minmax(0, 1fr); } }
.members { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.member { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px 14px 14px 999px; }
.member__dep { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; }
.member:nth-child(3n+2) .member__dep { background: var(--red); color: #fff; }
.member:nth-child(3n+3) .member__dep { background: var(--teal); color: #fff; }
.member__name { font-weight: 800; line-height: 1.2; }
.member__place { font-size: .9rem; color: var(--ink-3); }
.member--home { border-width: 2.5px; box-shadow: 3px 3px 0 var(--ink); }
.member--home .member__name::after { content: " ← c'est nous !"; font-family: var(--f-hand); color: var(--red); font-size: 1.2rem; font-weight: 700; }

.residency { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); overflow: hidden; margin-bottom: 30px; scroll-margin-top: 150px; }
.residency__media { border-right: 2px solid var(--ink); min-height: 320px; position: relative; }
.residency__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.residency__body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.residency__body h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.residency__cie { font-family: var(--f-hand); font-weight: 700; font-size: 1.55rem; line-height: 1; color: var(--red); }
.residency__hook { font-size: 1.12rem; font-weight: 600; font-style: italic; color: var(--ink-2); margin: 0; }
.residency--featured { border-width: 3px; box-shadow: 8px 8px 0 var(--red); }
.residency--featured .residency__media { min-height: 420px; }
.ribbon-label { position: absolute; left: -2px; top: 18px; z-index: 2; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 14px 8px 16px; border: 2px solid var(--ink); border-left: 0; border-radius: 0 999px 999px 0; }
@media (max-width: 820px) {
  .residency { grid-template-columns: minmax(0, 1fr); }
  .residency__media { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 240px; aspect-ratio: 16 / 10; }
  .residency--featured .residency__media { min-height: 260px; }
}
.when { display: grid; gap: 8px; margin: 4px 0; }
.when__row { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.when__row svg { width: 20px; height: 20px; flex: none; color: var(--teal); }
.outing { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; background: var(--yellow-2); border: 2px dashed var(--ink); border-radius: 12px; font-weight: 700; }
.outing svg { width: 22px; height: 22px; color: var(--red); }
.outing .tag { margin-left: auto; }
.premiere { font-family: var(--f-hand); font-weight: 700; font-size: 1.4rem; line-height: 1.1; color: var(--teal); }

.more { margin-top: 4px; }
.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: .55em 1.1em; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); transition: background .2s; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { background: var(--yellow); }
.more summary svg { width: 18px; height: 18px; transition: rotate .25s var(--ease); }
.more[open] summary svg { rotate: 180deg; }
.more[open] summary .more__open { display: none; }
.more:not([open]) summary .more__close { display: none; }
.more__content { padding-top: 18px; }
.more__content h4 { text-transform: uppercase; letter-spacing: .08em; font-family: var(--f-body); font-size: .82rem; margin: 1.4em 0 .6em; color: var(--ink-3); }
.crew { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.crew li { padding-left: 18px; position: relative; }
.crew li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.supports { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

.mad { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.mad__item { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.mad__item h3 { margin: 0; font-size: 1.35rem; }
.mad__item .show__cie { font-size: 1.25rem; }
.mad__dates { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.mad__dates svg { width: 18px; height: 18px; color: var(--teal); }

/* ==========================================================================
   Actions culturelles
   ========================================================================== */
.project { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.project + .project { margin-top: clamp(56px, 8vw, 100px); padding-top: clamp(56px, 8vw, 100px); border-top: 2px dashed var(--ink-3); }
.project__aside { position: sticky; top: 110px; }
.project__poster { aspect-ratio: 4 / 5; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); rotate: -2deg; }
.project__poster img { width: 100%; height: 100%; object-fit: cover; }
.project__facts { margin-top: 26px; display: grid; gap: 10px; }
.project__facts div { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.project__facts svg { width: 20px; height: 20px; color: var(--red); flex: none; }
@media (max-width: 860px) { .project { grid-template-columns: minmax(0, 1fr); } .project__aside { position: static; max-width: 380px; } }
.axes { display: grid; gap: 18px; margin: 28px 0; }
.axe { padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.axe__n { font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: .8; color: var(--red); }
.axe:nth-child(2) .axe__n { color: var(--teal); }
.axe:nth-child(3) .axe__n { color: var(--yellow); -webkit-text-stroke: 1.5px var(--ink); }
.axe h3 { margin-bottom: .3em; }
.axe p { margin: 0; color: var(--ink-2); }
.cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.cloud li { padding: .5em 1em; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; background: var(--white); box-shadow: 2px 2px 0 var(--ink); }
.cloud li:nth-child(4n+1) { rotate: -2deg; background: var(--yellow); }
.cloud li:nth-child(4n+2) { rotate: 1.5deg; }
.cloud li:nth-child(4n+3) { rotate: -1deg; background: var(--red); color: #fff; }
.cloud li:nth-child(4n) { rotate: 2deg; background: var(--teal); color: #fff; }

/* ==========================================================================
   Acte Un
   ========================================================================== */
.classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.class { display: flex; flex-direction: column; overflow: hidden; }
.class__head { padding: 20px 22px 16px; background: var(--yellow); border-bottom: 2px dashed var(--ink); }
.class:nth-child(2) .class__head { background: var(--red); color: #fff; }
.class:nth-child(3) .class__head { background: var(--teal); color: #fff; }
.class:nth-child(4) .class__head { background: var(--paper-3); }
.class__age { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.class__name { font-family: var(--f-hand); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.class__body { padding: 18px 22px 22px; display: grid; gap: 10px; font-size: .97rem; }
.class__body div { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.class__body svg { width: 20px; height: 20px; color: var(--ink-3); margin-top: 2px; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 26px; }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 24px; align-items: start; }
.person__photo { width: 120px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); background: var(--yellow); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: .1em; }
.person__role { font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; color: var(--red); line-height: 1.05; margin-bottom: 10px; }
.person p { font-size: .98rem; color: var(--ink-2); margin: 0; }
.person__contact { display: grid; gap: 4px; margin-top: 10px; font-size: .95rem; }
.person__contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.person__contact svg { width: 16px; height: 16px; }
@media (max-width: 520px) { .person { grid-template-columns: minmax(0, 1fr); } .person__photo { width: 96px; } }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip .polaroid { position: relative; aspect-ratio: 4 / 3; }
.strip .polaroid:nth-child(1) { rotate: -3deg; } .strip .polaroid:nth-child(2) { rotate: 2deg; translate: 0 14px; } .strip .polaroid:nth-child(3) { rotate: -1deg; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr 1fr; } .strip .polaroid:nth-child(3) { display: none; } }

/* ==========================================================================
   Association
   ========================================================================== */
.missions { counter-reset: m; }
.mission { padding: 26px; position: relative; }
.mission::before { counter-increment: m; content: "0" counter(m); display: block; font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: var(--red); margin-bottom: 10px; }
.mission h3 { margin-bottom: .3em; }
.mission p { margin: 0; color: var(--ink-2); }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0 0 26px; }
.board li { padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--white); }
.board b { display: block; font-size: 1.05rem; }
.board span { font-family: var(--f-hand); font-weight: 700; font-size: 1.25rem; color: var(--teal); line-height: 1; }
.names { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.names li { padding: .35em .85em; border-radius: 999px; background: var(--paper-2); font-weight: 600; }

.tribute { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.tribute__photo { position: sticky; top: 110px; }
.tribute__photo img { border-radius: 4px; filter: grayscale(.2); }
.tribute__photo figcaption { font-size: .85rem; opacity: .7; margin-top: 10px; }
.tribute__text { font-size: 1.08rem; line-height: 1.75; }
.tribute__text p:first-child::first-letter { font-family: var(--f-display); font-weight: 800; float: left; font-size: 4.2em; line-height: .8; margin: .06em .1em 0 0; color: var(--yellow); }
@media (max-width: 860px) { .tribute { grid-template-columns: minmax(0, 1fr); } .tribute__photo { position: static; } }

/* ==========================================================================
   Archives + visionneuse
   ========================================================================== */
.years { display: flex; flex-wrap: wrap; gap: 10px; }
.years a { text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; padding: .3em .8em; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); box-shadow: 2px 2px 0 var(--ink); }
.years a:hover { background: var(--yellow); color: var(--ink); }
.edition { padding-block: clamp(40px, 6vw, 70px); border-top: 2px solid var(--ink); scroll-margin-top: 90px; }
.edition__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 4vw, 48px); align-items: start; margin-bottom: 28px; }
.edition__year { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.6rem, 10vw, 7.5rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.edition:nth-of-type(odd) .edition__year { color: var(--yellow); }
@media (max-width: 700px) { .edition__head { grid-template-columns: minmax(0, 1fr); } }
.edition__aside { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.edition__aside img.affiche { border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); rotate: -2deg; }
@media (max-width: 700px) { .edition__aside { grid-template-columns: minmax(0, 1fr); } .edition__aside img.affiche { max-width: 220px; } }
.gallery { columns: 4 220px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; break-inside: avoid; border-radius: 8px; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform .5s var(--ease), filter .3s; }
.gallery button:hover img { transform: scale(1.04); filter: saturate(1.15); }
.credit { font-size: .88rem; color: var(--ink-3); margin-top: 6px; }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(20, 17, 14, .94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border: 6px solid var(--white); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); display: grid; place-items: center; box-shadow: 2px 2px 0 #000; }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { top: max(14px, env(safe-area-inset-top, 0px)); right: 14px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: max(16px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: var(--paper); font-family: var(--f-hand); font-size: 1.4rem; }
@media (max-width: 600px) { .lightbox { padding: 70px 10px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; translate: none; } }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { background: var(--ink); color: var(--paper); position: relative; padding-top: clamp(70px, 9vw, 110px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
.footer::before { /* bord déchiré en haut */
  content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 22px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L0 12 L14 16 L26 8 L41 14 L55 6 L68 13 L83 9 L97 17 L110 7 L126 12 L139 5 L152 14 L168 9 L181 15 L197 6 L210 12 L226 8 L239 16 L253 10 L268 14 L281 5 L296 12 L310 9 L323 16 L339 7 L352 13 L366 8 L381 15 L400 9 L400 22 Z'/%3E%3C/svg%3E") bottom / 400px 22px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L0 12 L14 16 L26 8 L41 14 L55 6 L68 13 L83 9 L97 17 L110 7 L126 12 L139 5 L152 14 L168 9 L181 15 L197 6 L210 12 L226 8 L239 16 L253 10 L268 14 L281 5 L296 12 L310 9 L323 16 L339 7 L352 13 L366 8 L381 15 L400 9 L400 22 Z'/%3E%3C/svg%3E") bottom / 400px 22px repeat-x;
}
.footer a { color: var(--paper); }
.footer a:hover { color: var(--yellow); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }
.footer__bye { font-family: var(--f-hand); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: .95; color: var(--yellow); margin-bottom: 18px; rotate: -2deg; }
.footer h2 { font-family: var(--f-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(247,240,225,.6); margin-bottom: 14px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.6; }
.footer__contact { display: grid; gap: 8px; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer__contact svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: transform .2s var(--ease), background .2s; }
.socials a:hover { background: var(--yellow); color: var(--ink); transform: rotate(-10deg) scale(1.08); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(247,240,225,.18); font-size: .88rem; color: rgba(247,240,225,.65); }
.footer__bottom a { color: rgba(247,240,225,.8); }

/* ==========================================================================
   Divers
   ========================================================================== */
.notice { max-width: 640px; margin: 80px auto; padding: 28px; }
.notice h1 { font-size: 2rem; }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.3em; }
.loading { min-height: 60vh; display: grid; place-items: center; }
.loading img { width: 80px; animation: sway 1.4s ease-in-out infinite alternate; transform-origin: bottom center; }
@keyframes sway { from { rotate: -6deg; } to { rotate: 6deg; } }

/* apparition au défilement */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}
@media print {
  body::before, .header, .footer, .ribbon, .subnav, .announce { display: none !important; }
  .more:not([open]) > .more__content { display: block; }
}

/* les enfants de grille peuvent rétrécir (évite tout débordement sur mobile) */
.hero__grid > *, .page-hero__grid > *, .network > *, .tribute > *, .edition__head > *, .edition__aside > *, .cta-band > *, .grid > *, .split > * { min-width: 0; }
