/* ==========================================================================
   SHOWBISE — Feuille de style
   1. Variables  2. Base  3. Utilitaires  4. Boutons  5. En-tête / menu
   6. Hero & scène  7. Photos  8. Sections  9. Pages  10. Pied de page
   11. Animations  12. Responsive
   ========================================================================== */

/* 1. VARIABLES — charte graphique ---------------------------------------- */
:root {
  --bordeaux: #4A0404;
  --rouge: #B20000;
  --noir: #0D0D0D;
  --creme: #F2F2F2;

  --papier: #E7E3DD;
  --blanc: #FBFAF8;
  --gris: #6A6260;
  --ligne: rgba(13, 13, 13, .14);
  --ligne-claire: rgba(242, 242, 242, .16);

  --f-titre: "Bodoni Moda", "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  --f-texte: "Jost", "Helvetica Neue", Arial, sans-serif;
  --f-main: "Caveat", "Segoe Script", cursive;

  --marge: clamp(1.25rem, 5vw, 4.5rem);
  --largeur: 1320px;
  --section: clamp(4.5rem, 10vw, 9rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--noir);
  font-family: var(--f-texte);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: page-in .7s var(--ease) both;
}
/* Grain cinématographique sur tout le site */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 900; pointer-events: none;
  opacity: .2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 4px; }
.sombre :focus-visible, .header :focus-visible, .menu :focus-visible, .footer :focus-visible { outline-color: var(--creme); }
::selection { background: var(--rouge); color: var(--creme); }

.skip {
  position: fixed; top: .5rem; left: .5rem; z-index: 1000;
  background: var(--creme); color: var(--noir); padding: .7rem 1rem;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* 3. UTILITAIRES ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--marge); }
.section { padding-block: var(--section); position: relative; }
.sombre { background: var(--noir); color: var(--creme); }
.bordeaux { background: var(--bordeaux); color: var(--creme); }
.papier { background: var(--papier); }

.surtitre {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  color: var(--rouge);
}
.surtitre::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; }
.sombre .surtitre, .bordeaux .surtitre { color: var(--creme); opacity: .85; }

.titre {
  font-family: var(--f-titre); font-weight: 400; line-height: .98;
  letter-spacing: -.02em;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  text-wrap: balance;
}
.titre em { font-style: italic; color: var(--rouge); }
.sombre .titre em, .bordeaux .titre em { color: inherit; opacity: .75; }
.titre--m { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.titre--s { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; }

.chapo { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.5; max-width: 38ch; }
.texte { max-width: 58ch; color: #2b2523; }
.texte + .texte { margin-top: 1.1em; }
.sombre .texte, .bordeaux .texte { color: rgba(242, 242, 242, .82); }

.main { font-family: var(--f-main); font-size: 1.55em; line-height: 1.1; font-weight: 500; }
.main--rouge { color: var(--rouge); }
.etoile { color: var(--rouge); font-style: normal; display: inline-block; }
.sombre .etoile, .bordeaux .etoile { color: var(--creme); }

/* Placeholder d'information manquante */
.ph { border-bottom: 1px dashed currentColor; opacity: .62; font-style: italic; }

.entete-section { display: grid; gap: 1.4rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.entete-section--ligne { grid-template-columns: 1fr auto; align-items: end; }

.trait { display: block; width: 180px; height: auto; color: var(--rouge); }
.trait path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* 4. BOUTONS --------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .9em;
  padding: 1.15em 2em; overflow: hidden; isolation: isolate;
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1;
  border: 1px solid var(--rouge); background: var(--rouge); color: var(--creme);
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noir);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { border-color: var(--noir); }
.btn .fl { transition: transform .45s var(--ease); }
.btn:hover .fl { transform: translateX(.35em); }
.btn--clair { background: transparent; border-color: rgba(242, 242, 242, .55); color: var(--creme); }
.btn--clair::before { background: var(--creme); }
.btn--clair:hover { color: var(--noir); border-color: var(--creme); }
.btn--contour { background: transparent; border-color: var(--noir); color: var(--noir); }
.btn--contour:hover { color: var(--creme); }
.sombre .btn:not(.btn--clair)::before, .bordeaux .btn:not(.btn--clair)::before, .scene .btn:not(.btn--clair)::before { background: var(--creme); }
.sombre .btn:not(.btn--clair):hover, .bordeaux .btn:not(.btn--clair):hover, .scene .btn:not(.btn--clair):hover { color: var(--noir); border-color: var(--creme); }
.btn--xl { font-size: .82rem; padding: 1.4em 2.6em; }

.lien {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding-bottom: .5em; border-bottom: 1px solid currentColor;
}
.lien .fl { transition: transform .45s var(--ease); }
.lien:hover .fl { transform: translateX(.4em); }
.lien:hover { color: var(--rouge); }
.sombre .lien:hover, .bordeaux .lien:hover { color: inherit; opacity: .7; }

/* 5. EN-TÊTE / MENU -------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--header-h);
  color: var(--creme);
  transition: background .4s var(--ease), height .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-solide { background: rgba(13, 13, 13, .93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--ligne-claire); height: 64px; }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-inline: var(--marge); }
.logo { font-family: var(--f-titre); font-size: 1.45rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.logo i { font-style: normal; color: var(--rouge); font-size: .7em; margin-left: .35em; vertical-align: .25em; }
.nav ul { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.2rem); }
.nav a { position: relative; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: .6em 0; white-space: nowrap; }
.nav a:not(.nav__accent)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav__accent { background: var(--rouge); padding: .95em 1.4em; transition: background .35s; }
.nav .nav__accent:hover, .nav .nav__accent[aria-current="page"] { background: var(--creme); color: var(--noir); }
.header__droite { display: flex; align-items: center; gap: 1.4rem; }

.reseaux { display: flex; align-items: center; gap: 1.1rem; }
.reseaux a { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; transition: opacity .3s, transform .4s var(--ease); }
.reseaux a:hover { opacity: .65; transform: translateY(-2px); }
.reseaux svg { width: 100%; height: 100%; fill: currentColor; }
.reseaux--xl { gap: clamp(1rem, 3vw, 2rem); flex-wrap: wrap; }
.reseaux--xl a { width: auto; height: auto; display: inline-flex; gap: .8rem; align-items: center; padding: 1rem 1.5rem; border: 1px solid currentColor; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.reseaux--xl svg { width: 1.2rem; height: 1.2rem; }
.reseaux--xl a:hover { opacity: 1; background: var(--creme); color: var(--bordeaux); border-color: var(--creme); }
.reseaux--xl.reseaux--encre a:hover { background: var(--noir); color: var(--creme); border-color: var(--noir); }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 790; color: var(--creme);
  background: radial-gradient(90% 60% at 100% 0, rgba(178, 0, 0, .35), transparent 60%), radial-gradient(80% 70% at 0 100%, #4A0404, transparent 70%), var(--noir);
  padding: calc(var(--header-h) + 2rem) var(--marge) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu.is-ouvert { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu__liens li { border-bottom: 1px solid var(--ligne-claire); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu.is-ouvert .menu__liens li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 50ms + 120ms); }
.menu__liens a { display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0; font-family: var(--f-titre); font-size: clamp(1.9rem, 8vw, 3rem); line-height: 1.1; }
.menu__liens a span { font-family: var(--f-texte); font-size: .7rem; letter-spacing: .2em; opacity: .55; }
.menu__liens a[aria-current="page"] { font-style: italic; }
.menu__bas { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.menu__bas .main { font-size: 1.5rem; }
body.menu-ouvert { overflow: hidden; }

/* 6. HERO & SCÈNE ----------------------------------------------------------- */
.scene { position: relative; isolation: isolate; overflow: hidden; background: #080303; color: var(--creme); }
.scene__decor { position: absolute; inset: 0; z-index: -1; }
.scene__lumiere {
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 70% at 50% -8%, rgba(255, 236, 214, .22), transparent 70%),
    radial-gradient(60% 85% at 50% 0, rgba(178, 0, 0, .5), transparent 72%),
    radial-gradient(70% 40% at 50% 105%, rgba(178, 0, 0, .28), transparent 70%);
}
.scene__rideau {
  position: absolute; top: -2%; bottom: -2%; width: clamp(44px, 15vw, 300px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 22%, transparent 70%, rgba(0, 0, 0, .75)),
    repeating-linear-gradient(90deg, #1c0101 0, #5f0505 9%, #a30606 17%, #6e0404 24%, #2a0202 33%);
  box-shadow: 0 0 80px 30px rgba(0, 0, 0, .55);
  animation: rideau 2.2s var(--ease) both;
}
.scene__rideau--g { left: 0; transform-origin: left; border-bottom-right-radius: 40% 6%; }
.scene__rideau--d { right: 0; transform-origin: right; border-bottom-left-radius: 40% 6%; }
.scene__sol { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8)); }

.hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; }
.hero__in { display: grid; align-content: center; justify-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) var(--marge) 2rem; gap: clamp(.9rem, 2vw, 1.5rem); }
.hero__titre {
  font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; line-height: .82;
  font-size: clamp(3.4rem, 15.5vw, 15rem); letter-spacing: -.035em;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .5);
}
.hero__sous { font-size: clamp(.68rem, .6rem + .4vw, .9rem); letter-spacing: .32em; text-transform: uppercase; font-weight: 500; }
.hero__slogan { font-family: var(--f-main); font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1; transform: rotate(-2.5deg); margin-top: .4rem; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: clamp(1rem, 2.5vw, 2rem); }
.hero__bas { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem var(--marge); border-top: 1px solid var(--ligne-claire); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.hero__bas a:hover { opacity: .7; }
.hero .etoile { position: absolute; color: var(--creme); opacity: .8; animation: scintille 5s ease-in-out infinite; }

.page-hero { padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 7.5rem)) 0 clamp(3rem, 7vw, 6rem); }
.page-hero__in { display: grid; gap: 1.5rem; }
.page-hero h1 { font-family: var(--f-titre); font-weight: 400; font-size: clamp(3rem, 10.5vw, 9.5rem); line-height: .9; letter-spacing: -.03em; text-wrap: balance; }
.page-hero h1 em { font-style: italic; }
.page-hero__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-top: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--ligne-claire); }
.page-hero__bas p { max-width: 46ch; color: rgba(242, 242, 242, .82); }
.page-hero .scene__rideau { width: clamp(30px, 6vw, 110px); opacity: .9; }
.page-hero .container { padding-inline: calc(var(--marge) + clamp(20px, 4vw, 70px)); }

/* 7. PHOTOS ------------------------------------------------------------------ */
.photo { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 4 / 5); background: #1a0a0a; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.88); transition: transform 1.4s var(--ease); }
a:hover > .photo img, .photo:hover img { transform: scale(1.045); }
.photo--vide { display: grid; place-content: center; justify-items: center; gap: .3rem; text-align: center; padding: 1rem; color: var(--creme); transition: filter .6s; }
.photo--vide .photo__tag { font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; opacity: .7; border: 1px dashed currentColor; padding: .45em .8em; }
.photo--vide .photo__label { font-family: var(--f-main); font-size: 1.6rem; line-height: 1; }
.photo[data-ton="1"] { background: radial-gradient(120% 90% at 30% 10%, #8a0a0a 0, #4A0404 42%, #160202 100%); }
.photo[data-ton="2"] { background: radial-gradient(80% 60% at 70% 0, rgba(178, 0, 0, .6), transparent 62%), #0D0D0D; }
.photo[data-ton="3"] { background: linear-gradient(160deg, #d9d3cb, #b9b0a6); color: var(--noir); }
.photo[data-ton="4"] { background: linear-gradient(200deg, #B20000, #4A0404 85%); }

.polaroid {
  position: relative; background: var(--blanc); padding: .65rem .65rem 2.7rem;
  box-shadow: 0 22px 45px -20px rgba(13, 13, 13, .55), 0 2px 6px rgba(13, 13, 13, .12);
  transform: rotate(var(--r, -3deg)); transition: transform .9s var(--ease);
  color: var(--noir);
}
.polaroid:hover { transform: rotate(0) translateY(-6px); }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: .45rem; text-align: center; font-family: var(--f-main); font-size: 1.35rem; line-height: 1; }
.polaroid::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 92px; height: 28px; z-index: 2;
  background: rgba(231, 227, 221, .78); box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  transform: translateX(-50%) rotate(-4deg);
}

.collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 620px; width: 100%; margin-inline: auto; }
.collage > * { position: absolute; }
.collage__a { width: 56%; left: 2%; top: 4%; --r: -5deg; z-index: 2; }
.collage__b { width: 46%; right: 1%; top: 22%; --r: 4deg; z-index: 3; }
.collage__c { width: 42%; left: 20%; bottom: 0; --r: -1.5deg; z-index: 4; }
.collage__note { right: 4%; top: 2%; transform: rotate(6deg); color: var(--rouge); z-index: 5; }
.collage__trait { left: -4%; bottom: 10%; width: 30%; z-index: 1; }
.collage .etoile { font-size: 2rem; right: 14%; bottom: 8%; z-index: 5; }

/* 8. SECTIONS ---------------------------------------------------------------- */
.bandeau { background: var(--rouge); color: var(--creme); overflow: hidden; padding: 1rem 0; border-block: 1px solid rgba(0, 0, 0, .2); }
.bandeau__piste { display: flex; width: max-content; animation: defile 48s linear infinite; }
.bandeau__piste span { font-family: var(--f-titre); font-style: italic; font-size: 1.25rem; white-space: nowrap; padding-inline: 1.4rem; }
.bandeau__piste i { font-style: normal; font-size: .8rem; align-self: center; }

.duo { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.duo__texte { grid-column: span 6; display: grid; gap: 1.6rem; justify-items: start; }
.duo__media { grid-column: span 6; }
.duo--inverse .duo__media { order: -1; }

/* Liste des pôles (accueil) */
.poles-liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--ligne-claire); }
.pole-ligne { display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: baseline; gap: .4rem 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--ligne-claire); position: relative; transition: padding .5s var(--ease); }
.pole-ligne__num { font-size: .7rem; letter-spacing: .2em; opacity: .55; }
.pole-ligne__nom { font-family: var(--f-titre); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; transition: color .4s; }
.pole-ligne__desc { grid-column: 2 / -1; font-size: .95rem; opacity: .68; max-width: 44ch; }
.pole-ligne .fl { font-size: 1.3rem; opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .5s var(--ease); }
.pole-ligne:hover, .pole-ligne:focus-visible { padding-left: .8rem; }
.pole-ligne:hover .pole-ligne__nom, .pole-ligne:focus-visible .pole-ligne__nom { font-weight: 700; color: #ff5a4f; }
.pole-ligne:hover .fl { opacity: 1; transform: none; }

/* Prochain spectacle */
.affiche { text-align: center; padding-block: clamp(5.5rem, 12vw, 11rem); }
.affiche__in { display: grid; justify-items: center; gap: 1.4rem; padding-inline: clamp(70px, 19vw, 320px); }
.affiche__dates { font-family: var(--f-titre); font-size: clamp(2.7rem, 9.5vw, 8.5rem); line-height: .9; letter-spacing: -.03em; }
.affiche__dates small { display: block; font-size: .36em; letter-spacing: .18em; text-transform: uppercase; margin-top: .5em; }
.affiche__lieu { font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; }
.affiche__j { font-family: var(--f-main); font-size: clamp(1.8rem, 3vw, 2.6rem); transform: rotate(-3deg); color: #ffb9b0; }

/* Cartes actualités */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); }
.carte { display: grid; align-content: start; gap: 1rem; }
.carte__media { display: block; }
.carte__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; padding-top: .4rem; }
.carte__cat { color: var(--rouge); font-weight: 600; }
.carte__titre { font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.08; }
.carte__titre a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.carte:hover .carte__titre a { background-size: 100% 1px; }
.carte__resume { color: var(--gris); font-size: .98rem; }
.carte .lien { justify-self: start; margin-top: .3rem; }
.cartes .carte:nth-child(3n+2) { margin-top: clamp(0rem, 4vw, 3.5rem); }

.carte--une { grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem); margin-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--ligne); }
.carte--une .carte__corps { display: grid; gap: 1.2rem; }
.carte--une .carte__titre { font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1; }
.carte--une .carte__resume { font-size: 1.1rem; }

.filtres { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.filtres button { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; padding: .8em 1.3em; border: 1px solid var(--ligne); transition: background .3s, color .3s, border-color .3s; }
.filtres button:hover { border-color: var(--noir); }
.filtres button[aria-pressed="true"] { background: var(--noir); color: var(--creme); border-color: var(--noir); }

/* Réseaux */
.suivre { text-align: center; display: grid; justify-items: center; gap: 2rem; }
.suivre .titre { font-style: italic; }

/* 9. PAGES ------------------------------------------------------------------- */
/* Association */
.citation { text-align: center; display: grid; justify-items: center; gap: 2rem; }
.citation blockquote { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.8rem, 4.6vw, 4rem); line-height: 1.12; max-width: 22ch; text-wrap: balance; }

.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.item-num { display: grid; gap: .8rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid currentColor; }
.item-num__n { font-size: .7rem; letter-spacing: .22em; color: var(--rouge); }
.sombre .item-num__n, .bordeaux .item-num__n { color: inherit; opacity: .6; }
.item-num h3 { font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; }
.item-num p { font-size: .98rem; opacity: .78; }

.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ligne-claire); }
.chiffre { padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--ligne-claire); display: grid; gap: .3rem; }
.chiffre:last-child { border-right: 0; }
.chiffre__val { font-family: var(--f-titre); font-size: clamp(4rem, 10vw, 9rem); line-height: .85; letter-spacing: -.04em; }
.chiffre__unite { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.9rem); }
.chiffre__label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }

.bureau { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2.5rem); }
.membre { display: grid; gap: .9rem; }
.membre__role { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rouge); }
.membre__nom { font-family: var(--f-titre); font-size: 1.5rem; line-height: 1.1; }

.galerie { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.6rem, 1.4vw, 1.4rem); align-items: start; }
.galerie figure { grid-column: span 4; position: relative; }
.galerie figure:nth-child(8n+1) { grid-column: span 7; --ratio: 16 / 10; }
.galerie figure:nth-child(8n+2) { grid-column: span 5; --ratio: 4 / 5; margin-top: 12%; }
.galerie figure:nth-child(8n+3) { grid-column: span 3; --ratio: 3 / 4; }
.galerie figure:nth-child(8n+4) { grid-column: span 5; --ratio: 1; margin-top: 6%; }
.galerie figure:nth-child(8n+5) { grid-column: span 4; --ratio: 3 / 4; margin-top: 10%; }
.galerie figure:nth-child(8n+6) { grid-column: span 4; --ratio: 4 / 5; }
.galerie figure:nth-child(8n+7) { grid-column: span 5; --ratio: 16 / 11; margin-top: 8%; }
.galerie figure:nth-child(8n+8) { grid-column: span 3; --ratio: 3 / 4; margin-top: 0; }
.galerie figcaption { font-family: var(--f-main); font-size: 1.3rem; margin-top: .4rem; }

/* Pôles */
.poles-index { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; }
.poles-index a { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.7rem); border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.poles-index a:hover { color: var(--rouge); border-color: currentColor; }
.poles-index sup { font-family: var(--f-texte); font-style: normal; font-size: .6rem; letter-spacing: .1em; margin-right: .3em; opacity: .6; }

.pole { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6.5rem); border-top: 1px solid var(--ligne); }
.pole__media { grid-column: span 5; }
.pole__corps { grid-column: span 7; display: grid; gap: 1.3rem; justify-items: start; }
.pole:nth-child(even) .pole__media { order: 2; grid-column: 8 / -1; }
.pole:nth-child(even) .pole__corps { grid-column: 1 / 8; }
.pole__num { font-size: .72rem; letter-spacing: .26em; color: var(--rouge); }
.pole__nom { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 9vw, 8rem); line-height: .86; letter-spacing: -.03em; }
.pole__desc { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.45; max-width: 30ch; }
.fiche { display: grid; gap: 0; width: 100%; max-width: 30rem; border-top: 1px solid var(--ligne); }
.fiche div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--ligne); font-size: .95rem; }
.fiche dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); padding-top: .25em; }
.fiche dd { margin: 0; }
.sombre .fiche, .sombre .fiche div { border-color: var(--ligne-claire); }
.sombre .fiche dt { color: rgba(242, 242, 242, .6); }

/* Article */
.article-hero h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: .96; max-width: 16ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .8rem 2rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
.article-une { margin-top: calc(-1 * clamp(2rem, 5vw, 4rem)); position: relative; z-index: 2; }
.article-une .photo { --ratio: 16 / 8; }
.prose { max-width: 44rem; margin-inline: auto; display: grid; gap: 1.5rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); line-height: 1.75; }
.prose > p:first-of-type::first-letter { font-family: var(--f-titre); font-size: 4.2em; float: left; line-height: .8; padding: .08em .12em 0 0; color: var(--rouge); }
.prose h2 { font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; margin-top: 1.2rem; }
.prose blockquote { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--bordeaux); padding: 1rem 0 1rem 1.6rem; border-left: 2px solid var(--rouge); }
.prose figure { margin-block: 1rem; }
.prose figure .photo { --ratio: 3 / 2; }
.prose figcaption { font-family: var(--f-main); font-size: 1.3rem; margin-top: .4rem; }
.article-pied { max-width: 44rem; margin: clamp(3rem, 6vw, 5rem) auto 0; padding-top: 2rem; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }

/* Billetterie */
.billet-hero { text-align: center; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(4rem, 9vw, 7rem); }
.seances { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.seance { background: var(--blanc); padding: clamp(1.5rem, 3vw, 2.6rem); display: grid; gap: .5rem; position: relative; box-shadow: 0 20px 40px -28px rgba(13, 13, 13, .5); transition: transform .7s var(--ease); }
.seance:hover { transform: translateY(-6px); }
.seance::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rouge); }
.seance__jour { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--rouge); }
.seance__num { font-family: var(--f-titre); font-size: clamp(4rem, 9vw, 7.5rem); line-height: .85; letter-spacing: -.04em; }
.seance__mois { font-family: var(--f-titre); font-style: italic; font-size: 1.4rem; }
.seance dl { margin: 1rem 0 0; border-top: 1px solid var(--ligne); }
.seance dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--ligne); font-size: .92rem; }
.seance dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); align-self: center; }
.seance dd { margin: 0; text-align: right; }

.tarifs { border-top: 1px solid currentColor; }
.tarif { display: grid; grid-template-columns: 1fr auto; gap: .2rem 2rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--ligne); }
.tarif__label { font-family: var(--f-titre); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.tarif__prix { font-family: var(--f-titre); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.tarif__note { grid-column: 1 / -1; font-size: .9rem; color: var(--gris); }

.reserver { text-align: center; display: grid; justify-items: center; gap: 1.6rem; }
.reserver__note { max-width: 46ch; color: rgba(242, 242, 242, .8); }

.faq { border-top: 1px solid var(--noir); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; font-family: var(--f-titre); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.2; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rouge); }
.faq summary::after { content: "+"; font-family: var(--f-texte); font-weight: 300; font-size: 1.8rem; line-height: 1; flex: none; transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 3rem 1.7rem 0; max-width: 60ch; color: #2b2523; }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__infos { display: grid; gap: 2.2rem; }
.contact__questions { font-family: var(--f-titre); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
.contact__questions span { display: block; }
.contact__questions span:nth-child(2) { font-style: italic; color: var(--rouge); padding-left: 1.2em; }
.contact__questions span:nth-child(3) { padding-left: 2.4em; }
.coord { display: grid; gap: .3rem; padding-top: 1.2rem; border-top: 1px solid var(--ligne); }
.coord dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rouge); }
.coord dd { margin: 0; font-family: var(--f-titre); font-size: 1.35rem; line-height: 1.3; }
.coord dd a:hover { color: var(--rouge); }

.form { background: var(--blanc); padding: clamp(1.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; box-shadow: 0 30px 60px -40px rgba(13, 13, 13, .55); position: relative; }
.form__titre { grid-column: 1 / -1; }
.champ { display: grid; gap: .5rem; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); }
.champ input, .champ select, .champ textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--noir); border-radius: 0;
  padding: .7rem 0; font-size: 1.05rem; transition: border-color .3s, box-shadow .3s; appearance: none;
}
.champ select { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230D0D0D' stroke-width='1.5'/></svg>") no-repeat right .2rem center; padding-right: 1.5rem; }
.champ textarea { resize: vertical; min-height: 9rem; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 0; border-color: var(--rouge); box-shadow: 0 1px 0 var(--rouge); }
.form__pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.form__mention { font-size: .82rem; color: var(--gris); max-width: 40ch; }
.form__mention a { text-decoration: underline; }
.form__etat { grid-column: 1 / -1; font-size: .95rem; padding: 1rem 1.2rem; border-left: 2px solid var(--rouge); background: var(--papier); }
.form__etat:empty { display: none; }
.pot { position: absolute; left: -9999px; }

.carte-lieu { position: relative; aspect-ratio: 21 / 9; min-height: 320px; width: 100%; background: var(--papier); }
.carte-lieu iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* Pages légales */
.legal { max-width: 46rem; display: grid; gap: 1.2rem; }
.legal h2 { font-family: var(--f-titre); font-weight: 400; font-size: 1.8rem; margin-top: 1.5rem; }
.legal a { text-decoration: underline; }

/* 10. PIED DE PAGE ------------------------------------------------------------ */
.footer { background: linear-gradient(180deg, var(--bordeaux), #240202); color: var(--creme); padding-top: clamp(3.5rem, 7vw, 6rem); overflow: hidden; position: relative; }
.footer__haut { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: clamp(2rem, 4vw, 4rem); }
.footer__nom { font-family: var(--f-titre); font-size: 2rem; letter-spacing: .14em; text-transform: uppercase; }
.footer__base { margin-top: .6rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.footer__slogan { margin-top: 1.6rem; font-family: var(--f-main); font-size: 1.9rem; transform: rotate(-2deg); transform-origin: left; }
.footer h2 { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; opacity: .6; margin-bottom: 1.2rem; }
.footer li + li { margin-top: .55rem; }
.footer li a { position: relative; opacity: .9; }
.footer li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__mot { font-family: var(--f-titre); text-transform: uppercase; text-align: center; font-size: clamp(3.5rem, 19vw, 19rem); line-height: .78; letter-spacing: -.035em; margin-top: clamp(3rem, 6vw, 5rem); color: transparent; -webkit-text-stroke: 1px rgba(242, 242, 242, .28); user-select: none; transform: translateY(12%); }
.footer__bas { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.4rem; border-top: 1px solid var(--ligne-claire); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: #1c0101; }
.footer__bas ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.footer__bas li + li { margin-top: 0; }

/* 11. ANIMATIONS ------------------------------------------------------------- */
@keyframes page-in { from { opacity: 0; } }
@keyframes rideau { from { transform: scaleX(1.9); } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes scintille { 50% { opacity: .25; transform: scale(.8) rotate(20deg); } }

html.is-sortie body { opacity: 0; transition: opacity .22s ease; animation: none; }

.js [data-apparait] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-apparait].is-vu { opacity: 1; transform: none; }
.js .polaroid[data-apparait] { transform: translateY(22px) rotate(var(--r, -3deg)); }
.js .polaroid[data-apparait].is-vu { transform: rotate(var(--r, -3deg)); }
.js .polaroid[data-apparait].is-vu:hover { transform: rotate(0) translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-apparait] { opacity: 1; transform: none; }
  .js .polaroid[data-apparait] { transform: rotate(var(--r, -3deg)); }
}

/* 12. RESPONSIVE --------------------------------------------------------------- */
@media (max-width: 1240px) {
  .header .reseaux { display: none; }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: block; }
  .footer__haut { grid-template-columns: 1fr 1fr 1fr; }
  .footer__marque { grid-column: 1 / -1; }
  .grille-4, .bureau { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffre:nth-child(2n) { border-right: 0; }
  .chiffre:nth-child(n+3) { border-top: 1px solid var(--ligne-claire); }
  .cartes { grid-template-columns: 1fr 1fr; }
  .cartes .carte:nth-child(3n+2) { margin-top: 0; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .duo { grid-template-columns: 1fr; }
  .duo__texte, .duo__media { grid-column: 1 / -1; }
  .duo--inverse .duo__media { order: 0; }
  .poles-liste { grid-template-columns: 1fr; }
  .entete-section--ligne { grid-template-columns: 1fr; }
  .pole { grid-template-columns: 1fr; }
  .pole__media, .pole__corps, .pole:nth-child(even) .pole__media, .pole:nth-child(even) .pole__corps { grid-column: 1 / -1; order: 0; }
  .pole__media .photo { --ratio: 4 / 3 !important; }
  .carte--une { grid-template-columns: 1fr; }
  .seances { grid-template-columns: 1fr; }
  .affiche__in { padding-inline: clamp(50px, 14vw, 120px); }
  .galerie figure, .galerie figure:nth-child(n) { grid-column: span 6; margin-top: 0; }
  .galerie figure:nth-child(3n+1) { grid-column: 1 / -1; --ratio: 16 / 10; }
  .carte-lieu { aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  .cartes { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .champ { grid-column: 1 / -1; }
  .grille-4 { grid-template-columns: 1fr; }
  .footer__haut { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: column; align-self: stretch; width: 100%; max-width: 22rem; }
  .hero__bas span:first-child { display: none; }
  .hero__bas { justify-content: center; }
  .page-hero .scene__rideau { display: none; }
  .page-hero .container { padding-inline: var(--marge); }
  .fiche div { grid-template-columns: 1fr; gap: .1rem; }
  .faq details p { padding-right: 0; }
  .btn { padding-inline: 1.5em; letter-spacing: .18em; }
  .reseaux--xl a { flex: 1 1 40%; justify-content: center; padding: .9rem .6rem; }
  .collage { aspect-ratio: 1 / 1.15; }
}

/* Ajustements */
.scene .surtitre { color: var(--creme); opacity: .85; }
.entete-section .lien { justify-self: start; }
.entete-section--ligne > .lien, .entete-section--ligne > .main { justify-self: end; }
.affiche__j { line-height: 1.1; }
.seance dd { white-space: nowrap; }
@media (max-width: 860px) {
  .entete-section--ligne > .lien, .entete-section--ligne > .main { justify-self: start; }
  .faq, .duo > [style*="span 4"] { grid-column: 1 / -1 !important; }
}
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 1040px) { .grille-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grille-3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   LOGO & DIRECTION ARTISTIQUE DU LOGO
   Rouge vif du logo, lettrage Art déco à filets : repris en touches
   (filets doubles, ornements rouges, cadres de boutons).
   ========================================================================== */
:root { --rouge-vif: #FF2028; }

.logo { display: block; line-height: 0; }
.logo img { height: 30px; width: auto; transition: height .4s var(--ease), opacity .3s; }
.logo:hover img { opacity: .75; }
.header.is-solide .logo img { height: 26px; }

.hero__titre { line-height: 0; font-size: 0; text-shadow: none; }
.hero__titre img { width: min(84vw, 660px, 76svh); height: auto; filter: drop-shadow(0 12px 50px rgba(0, 0, 0, .55)); }

.footer__logo { width: clamp(180px, 20vw, 250px); height: auto; margin-bottom: 1.2rem; }
.footer__mot { transform: none; margin-top: clamp(3rem, 6vw, 5rem); padding-inline: var(--marge); -webkit-text-stroke: 0; }
.footer__mot img { width: 100%; height: auto; opacity: .16; }

.ornement { width: clamp(150px, 24vw, 300px); height: auto; }
.ornement--bas { width: clamp(100px, 16vw, 200px); }

/* Filets doubles, en écho aux lettres rayées du logo */
.surtitre::before { height: 5px; background: none; border-block: 1px solid currentColor; }
.item-num { border-top: 0; position: relative; padding-top: 1.7rem; }
.item-num::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-block: 1px solid currentColor; }
.btn { box-shadow: inset 0 0 0 3px var(--rouge), inset 0 0 0 4px rgba(242, 242, 242, .4); transition: color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }
.btn:hover, .btn--clair, .btn--contour { box-shadow: none; }

/* Rouge vif du logo sur les fonds sombres */
.sombre .etoile, .scene .etoile, .hero .etoile { color: var(--rouge-vif); }
.pole-ligne:hover .pole-ligne__nom { color: var(--rouge-vif); }
.sombre .item-num__n { color: var(--rouge-vif); opacity: 1; }
.affiche__j { color: #ff8d86; }
.scene__lumiere {
  background:
    radial-gradient(42% 70% at 50% -8%, rgba(255, 236, 214, .2), transparent 70%),
    radial-gradient(60% 85% at 50% 0, rgba(255, 32, 40, .34), transparent 72%),
    radial-gradient(70% 40% at 50% 105%, rgba(178, 0, 0, .28), transparent 70%);
}
.scene, .sombre { background-color: #050505; }

/* Titres de section en gras (même police) */
.titre { font-weight: 700; letter-spacing: -.015em; }

/* Pôle avec plusieurs photos */
.pole__photos { display: grid; gap: clamp(.5rem, 1vw, .9rem); }
.pole__vignettes { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(.5rem, 1vw, .9rem); }
.pole:has(.pole__photos) .pole__media { grid-column: span 6; }
.pole:has(.pole__photos) .pole__corps { grid-column: span 6; }
.pole:nth-child(even):has(.pole__photos) .pole__media { grid-column: 7 / -1; }
.pole:nth-child(even):has(.pole__photos) .pole__corps { grid-column: 1 / 7; }
@media (max-width: 860px) {
  .pole:has(.pole__photos) .pole__media, .pole:has(.pole__photos) .pole__corps { grid-column: 1 / -1 !important; }
  .pole__photos .photo { --ratio: 3 / 2 !important; }
}
.membre { align-content: start; }

/* Titre du spectacle */
.affiche__titre { font-family: var(--f-titre); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3.8rem); line-height: 1.05; text-wrap: balance; }
.affiche__titre:empty { display: none; }
.footer__spectacle { font-family: var(--f-titre); font-style: italic; font-size: 1.3rem; }

/* Réservation par soirée */
.seance__btn { margin-top: 1.2rem; width: 100%; }
.seance__bientot { margin-top: 1.2rem; padding: 1.05em 1em; text-align: center; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); border: 1px dashed var(--ligne); }

/* Spectacles des saisons passées */
.spectacles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.2rem, 2.5vw, 2.5rem); }
.spectacle { display: grid; gap: .7rem; align-content: start; }
.spectacle__annee { font-family: var(--f-titre); font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: .9; letter-spacing: -.03em; color: var(--rouge); margin-top: .6rem; }
.spectacle__titre { font-family: var(--f-titre); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; }
.spectacle__texte { font-size: .96rem; color: #2b2523; }
@media (max-width: 1040px) { .spectacles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .spectacles { grid-template-columns: 1fr; } .spectacle .photo { --ratio: 4 / 3 !important; } }
/* Affiches : toujours entières, quel que soit leur format, alignées sur la même ligne de base */
.spectacle .photo:not(.photo--vide) { background: transparent; overflow: visible; }
.spectacle .photo:not(.photo--vide) img { object-fit: contain; object-position: center bottom; filter: none; }
.spectacle .photo:not(.photo--vide):hover img { transform: none; }
@media (min-width: 1041px) { .spectacles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.spectacle__affiche { display: block; }
.spectacle__video { justify-self: start; margin-top: .4rem; }

/* Page « Nos anciens spectacles » */
.archive { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid var(--ligne); }
.archive__affiche { grid-column: 2 / span 4; }
.archive__corps { grid-column: span 6; display: grid; gap: 1.2rem; justify-items: start; }
.archive:nth-child(even) .archive__affiche { order: 2; grid-column: 8 / span 4; }
.archive:nth-child(even) .archive__corps { grid-column: 2 / span 6; }
.archive__affiche img { width: 100%; height: auto; box-shadow: 0 34px 60px -34px rgba(13, 13, 13, .7), 0 2px 8px rgba(13, 13, 13, .15); transition: transform .9s var(--ease); }
.archive__affiche:hover img { transform: translateY(-6px); }
.archive__annee { font-family: var(--f-titre); font-size: clamp(3.5rem, 8vw, 7rem); line-height: .85; letter-spacing: -.04em; color: var(--rouge); }
a.spectacle:hover .spectacle__titre { color: var(--rouge); }
@media (max-width: 860px) {
  .archive { grid-template-columns: 1fr; }
  .archive__affiche, .archive__corps, .archive:nth-child(even) .archive__affiche, .archive:nth-child(even) .archive__corps { grid-column: 1 / -1; order: 0; }
  .archive__affiche { max-width: 360px; }
}
/* Sept entrées dans le menu : on resserre, et le menu mobile prend le relais plus tôt */
.nav ul { gap: clamp(.9rem, 1.6vw, 2rem); }
@media (max-width: 1180px) { .nav { display: none; } .burger { display: block; } }

/* Synopsis du spectacle */
.synopsis { display: grid; gap: 1.1rem; }
.synopsis .texte + .texte { margin-top: 0; }
.synopsis .texte { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; max-width: 46ch; }

/* Partenaires (pied de page) */
.footer__partenaires { position: relative; display: flex; align-items: center; justify-content: center; gap: 1.2rem; padding-block: 1.6rem; border-top: 1px solid var(--ligne-claire); }
.footer__partenaires span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.partenaire { display: block; background: #f4eee9; padding: .5rem .8rem; border-radius: 6px; transition: transform .4s var(--ease); }
.partenaire:hover { transform: translateY(-2px); }
.partenaire img { width: 120px; height: auto; display: block; }

/* Image en grand */
.agrandir { cursor: zoom-in; }
.agrandir::after { content: "Cliquer pour agrandir"; position: absolute; left: 50%; bottom: .55rem; transform: translateX(-50%); font-family: var(--f-texte); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.agrandir:hover::after, .agrandir:focus-visible::after { opacity: 1; }
.agrandir:hover figcaption, .agrandir:focus-visible figcaption { opacity: 0; }
.visionneuse { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(8, 3, 4, .94); cursor: zoom-out; opacity: 0; transition: opacity .25s ease; }
.visionneuse.is-ouverte { opacity: 1; }
.visionneuse img { max-width: calc(100vw - 2 * clamp(1rem, 4vw, 3rem)); max-height: calc(100dvh - 2 * clamp(1rem, 4vw, 3rem)); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); cursor: default; }
.visionneuse__fermer { position: absolute; top: 1rem; right: 1.2rem; width: 48px; height: 48px; color: var(--creme); font-size: 2.4rem; line-height: 1; font-weight: 300; }
.visionneuse__fermer:hover { color: var(--rouge-vif); }

.partenaire--esdes img { aspect-ratio: 1350 / 576; object-fit: cover; object-position: 64% 50%; }
.footer__partenaires { flex-wrap: wrap; row-gap: 1rem; }
.footer__partenaires-sep { width: 1px; height: 2.4rem; background: var(--ligne-claire); margin-inline: .6rem; }
@media (max-width: 620px) { .footer__partenaires-sep { flex-basis: 100%; height: 0; margin: 0; } }

/* Encart texte à la place d'une photo (ex. pôle Buvette) */
.encart { display: grid; place-content: center; justify-items: center; gap: 1.2rem; padding: 2rem; text-align: center; color: var(--creme); background: radial-gradient(90% 70% at 50% 0, rgba(255, 32, 40, .35), transparent 70%), linear-gradient(170deg, #5a0606, var(--bordeaux) 55%, #1c0202); }
.encart__etoile { color: var(--rouge-vif); font-size: 1.6rem; }
.encart__surtitre { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; opacity: .85; }
.encart__texte { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; max-width: 14ch; text-wrap: balance; }
/* hidden doit gagner sur display:grid, sinon le calque invisible bloque tous les clics */
.visionneuse[hidden] { display: none; }
