/* Piste C — « Le chardon ». Univers de nuit : bleu nuit, or, bleu pâle ; turquoise pour les grands titres seulement.
   Sommaire : 1 base · 2 en-tête et menu classique · 3 le chardon et l'éventail · 4 ouverture · 5 blocs de l'accueil
   · 6 pied de page · 7 pages intérieures (fiche, répertoire, attente, voile) · 8 animations réduites. */

/* ---------- 1. Base ---------- */
:root {
  --nuit: var(--chardons-bleu-nuit);
  --nuit-profond: #1E2553;            /* bleu nuit assombri, pour rythmer les blocs */
  --or: var(--chardons-or);
  --or-clair: #FFE08A;                /* or éclairé : lueur des pics, survols */
  --pale: var(--chardons-bleu-pale);
  --clair: var(--chardons-bleu-clair);
  --turquoise: var(--chardons-turquoise);
  --blanc: #FFFFFF;
  --trait: rgba(197, 203, 230, .24);
  --marge: clamp(1.25rem, 5vw, 4rem);
  --entete: 4.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--entete) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--pale);
  font-family: var(--chardons-police);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: var(--or); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--or-clair); }
strong { color: var(--blanc); font-weight: 600; }
:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 3px; border-radius: 3px; }
main:focus, [tabindex="-1"]:focus { outline: none; }

.hors-ecran {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.evitement {
  position: absolute; left: 1rem; top: -6rem; z-index: 200;
  padding: .75rem 1.25rem; background: var(--or); color: var(--nuit); font-weight: 700; border-radius: 999px;
}
.evitement:focus { top: .75rem; color: var(--nuit); }

.cadre { max-width: 73rem; margin-inline: auto; }
.surtitre {
  display: block; color: var(--or); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .55rem 1.5rem;
  background: var(--or); color: var(--nuit); font-weight: 700; text-decoration: none; border-radius: 999px;
  transition: background-color .2s;
}
.bouton:hover { background: var(--or-clair); color: var(--nuit); }
.bouton-petit { min-height: 2.75rem; padding-inline: 1.25rem; }
.lien-fleche {
  display: inline-flex; align-items: center; min-height: 2.75rem; gap: .5rem;
  color: var(--or); font-weight: 600; text-decoration: underline;
}
.lien-fleche::after { content: "→"; transition: transform .2s; }
.lien-fleche:hover::after { transform: translateX(.3rem); }
.etiquette {
  display: inline-block; padding: .1rem .7rem; border: 1px solid var(--clair); border-radius: 999px;
  color: var(--pale); font-size: .875rem; line-height: 1.6; white-space: nowrap;
}
.etiquette-or { border-color: var(--or); color: var(--or); }
.suite { margin-top: 2rem; }
figcaption { margin-top: .4rem; color: var(--clair); font-size: .875rem; }

/* ---------- 2. En-tête et menu classique ---------- */
.entete {
  position: sticky; top: 0; z-index: 50; height: var(--entete);
  background: rgba(39, 47, 102, .96); border-bottom: 1px solid transparent;
}
.entete-cadre {
  display: flex; align-items: center; gap: 1rem; height: 100%; padding-inline: var(--marge);
}
.entete-logo { display: block; flex: none; margin-right: auto; }
.entete-logo img { height: 3.25rem; width: auto; }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu-liens { display: flex; align-items: center; gap: .25rem; }
.menu-liens a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .7rem;
  color: var(--pale); font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.menu-liens a:hover, .menu-liens a[aria-current="page"] { color: var(--or); text-decoration: underline; text-underline-offset: .4em; }
.langues { display: flex; align-items: flex-start; gap: .15rem; padding-left: 1.25rem; border-left: 1px solid var(--trait); }
.langue { display: inline-flex; flex-direction: column; align-items: center; padding: .1rem .4rem; font-size: 1rem; line-height: 1.2; }
.langue-active { color: var(--or); font-weight: 700; }
.langue-bientot { color: var(--clair); cursor: default; }
.langue-bientot small { font-size: .75rem; }
.langue small { letter-spacing: 0; }

.menu-bouton {
  display: none; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 .9rem;
  background: none; border: 1px solid var(--trait); border-radius: 999px;
  color: var(--pale); font: inherit; font-size: 1rem; cursor: pointer;
}
.menu-bouton:hover { border-color: var(--or); color: var(--or); }
.menu-bouton-traits, .menu-bouton-traits::before, .menu-bouton-traits::after {
  display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s;
}
.menu-bouton-traits { position: relative; }
.menu-bouton-traits::before, .menu-bouton-traits::after { content: ""; position: absolute; left: 0; }
.menu-bouton-traits::before { top: -6px; }
.menu-bouton-traits::after { top: 6px; }
.menu-bouton[aria-expanded="true"] .menu-bouton-traits { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-bouton-traits::before { transform: translateY(6px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-bouton-traits::after { transform: translateY(-6px) rotate(-45deg); }

.chardon-mini {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3.5rem; padding: .25rem;
  background: none; border: 1px solid var(--or); border-radius: 999px; cursor: pointer; transition: transform .2s, background-color .2s;
}
.chardon-mini[aria-expanded="true"] { background: var(--nuit-profond); }
.chardon-mini img { height: 100%; width: auto; }
.chardon-mini:hover { transform: rotate(-6deg) scale(1.08); }

@media (max-width: 62.49rem) {
  .menu-bouton { display: inline-flex; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: .5rem var(--marge) 1.5rem; background: var(--nuit-profond); border-bottom: 2px solid var(--or);
    max-height: calc(100vh - var(--entete)); overflow-y: auto;
  }
  .menu.est-ouvert { display: flex; }
  .menu-liens { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-liens a { min-height: 3.25rem; padding-inline: 0; font-size: 1.3rem; color: var(--blanc); border-bottom: 1px solid var(--trait); }
  .langues { padding-left: 0; border-left: 0; gap: .75rem; }
  .entete-logo img { height: 2.9rem; }
}

/* ---------- 3. Le chardon et l'éventail ---------- */
.chardon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.scene {
  --u: calc(var(--w) / 268.76);       /* une unité du dessin, en pixels */
  position: relative; flex: none; width: var(--w); aspect-ratio: 268.76 / 419.24;
}
.chardon-dessin { position: absolute; inset: 0; border-radius: 1rem; }
[role="button"].chardon-dessin { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.chardon-dessin:focus-visible { outline: 2px dashed var(--or-clair); outline-offset: 1.25rem; }
.chardon-secours { width: 100%; height: 100%; }
/* Chaque couche couvre le dessin et son pourtour (viewBox -70 -80 410 520 pour un dessin de 268,76 × 419,24). */
.c-couche {
  position: absolute; left: -26.045%; top: -19.082%; width: 152.552%; height: 124.034%;
  overflow: visible; pointer-events: none;
}
.c-reste, .c-base { fill: var(--or); transition: opacity .3s; }
.c-plume { position: absolute; inset: 0; transform-origin: 49.115% 30.293%; }
.c-lueur {
  fill: var(--or-clair); opacity: 0; transition: opacity .3s;
  filter: drop-shadow(0 0 .55rem rgba(255, 190, 30, .9));
  will-change: opacity;
}
.c-lueur.est-allumee, .c-lueur.est-eclair { opacity: 1; }
.c-lueur.est-eclair { transition-duration: .22s; }
.scene.est-ouverte .c-lueur { opacity: .5; }
.scene.est-ouverte .c-lueur.est-allumee { opacity: 1; }
.scene.a-un-actif .c-reste, .scene.a-un-actif .c-base { opacity: .62; }
.c-secteurs path { fill: transparent; pointer-events: all; cursor: pointer; }
.c-secteurs line {
  stroke: var(--or-clair); stroke-width: 1.25px; vector-effect: non-scaling-stroke; stroke-linecap: round;
  opacity: 0; transition: opacity .3s;
}
.c-secteurs line.est-trace, .scene.est-ouverte .c-secteurs line { opacity: .9; }
.c-plume.fremit { animation: fremir 1.5s ease-in-out 1; }
@keyframes fremir {
  0%, 100% { transform: rotate(0); }
  14% { transform: rotate(1.5deg); }
  32% { transform: rotate(-1.15deg); }
  50% { transform: rotate(.8deg); }
  68% { transform: rotate(-.5deg); }
  84% { transform: rotate(.25deg); }
}

.eventail { position: absolute; inset: 0; pointer-events: none; }
.branche {
  --tx: 0%; --d: 1;
  position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .35rem;
  color: var(--blanc); font-size: clamp(1.0625rem, 1.25rem + .35vw, 1.6rem); font-weight: 600; line-height: 1.15;
  text-decoration: none; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translate(var(--tx), -50%) translate(calc(var(--rx) * -1.1rem * var(--d)), calc(var(--ry) * -1.1rem * var(--d)));
  transition: opacity .15s, transform .3s cubic-bezier(.2, .8, .2, 1), color .2s;
}
/* À la souris, l'étiquette allumée s'entoure d'une marge invisible : on l'atteint sans viser. */
@media (hover: hover) and (pointer: fine) {
  .branche.est-active::before { content: ""; position: absolute; inset: -.9rem -1.6rem; }
}
.branche span { position: relative; padding-block: .1rem; border-bottom: 2px solid transparent; transition: border-color .2s; }
.branche[data-cote="g"] { --tx: -100%; }
.branche[data-branche="spectacles"] { --x: 16; --y: 107; --rx: -.98; --ry: -.17; }
.branche[data-branche="agenda"] { --x: 31; --y: 42; --rx: -.77; --ry: -.64; }
.branche[data-branche="compagnie"] { --x: 100; --y: -22; --rx: -.2; --ry: -.98; }
.branche[data-branche="actualites"] { --x: 158; --y: -26; --rx: .17; --ry: -.98; }
.branche[data-branche="pros"] { --x: 227; --y: 36; --rx: .72; --ry: -.69; }
.branche[data-branche="contact"] { --x: 284; --y: 132; --rx: 1; --ry: .03; }
.scene.est-ouverte .branche, .branche.est-active, .branche:focus { --d: 0; opacity: 1; pointer-events: auto; }
.scene.est-ouverte .branche { color: var(--pale); }
.branche.est-active, .branche:hover, .branche:focus-visible, .scene.est-ouverte .branche.est-active { color: var(--or-clair); }
.branche.est-active span, .branche:hover span { border-bottom-color: var(--or); }
.scene.est-ouverte li:nth-child(2) .branche { transition-delay: .04s; }
.scene.est-ouverte li:nth-child(3) .branche { transition-delay: .08s; }
.scene.est-ouverte li:nth-child(4) .branche { transition-delay: .12s; }
.scene.est-ouverte li:nth-child(5) .branche { transition-delay: .16s; }
.scene.est-ouverte li:nth-child(6) .branche { transition-delay: .2s; }

/* ---------- 4. Ouverture ---------- */
.ouverture {
  --w: min(50vw, calc((100vh - 14.5rem) * .641), 31rem);
  --w: min(50vw, calc((100svh - 14.5rem) * .641), 31rem);
  position: relative; display: grid; grid-template-rows: 1fr auto auto;
  min-height: calc(100vh - var(--entete)); min-height: calc(100svh - var(--entete));
  padding: 0 var(--marge) 1.5rem; overflow: hidden; overflow: clip;
}
.ouverture-scene {
  display: flex; align-items: center; justify-content: center;
  padding-top: calc(var(--w) / 268.76 * 26 + 2.25rem); padding-bottom: .5rem;
}
.indice {
  justify-self: center; margin-top: .5rem; color: var(--clair); font-size: 1rem; letter-spacing: .06em;
  transition: opacity .4s;
}
.indice::before {
  content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .6rem; vertical-align: .12em;
  background: var(--or); transform: rotate(45deg);
}
.indice.est-vu { opacity: 0; }
.indice-toucher { display: none; }
@media (hover: none), (pointer: coarse) {
  .indice-souris { display: none; }
  .indice-toucher { display: inline; }
}
/* Sur grand écran, le titre et l'affiche se logent dans les coins du bas, de part et d'autre de la main. */
.ouverture-pied {
  position: absolute; left: var(--marge); right: var(--marge); bottom: 1.75rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; pointer-events: none;
}
.ouverture-pied > * { pointer-events: auto; }
.ouverture-titre h1 { color: var(--blanc); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.ouverture-titre p { margin-top: .35rem; max-width: 24rem; line-height: 1.45; }
.ouverture-affiche {
  display: grid; grid-template-columns: auto auto; column-gap: .9rem; align-items: center; justify-items: end;
  text-align: right; text-decoration: none; color: var(--blanc);
}
.ouverture-affiche .surtitre { grid-column: 1; }
.ouverture-affiche-titre { grid-column: 1; font-size: 1.35rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.ouverture-affiche:hover .ouverture-affiche-titre { color: var(--or-clair); text-decoration: underline; }
.fleche-bas {
  grid-column: 2; grid-row: 1 / span 2; width: 2.75rem; height: 2.75rem; border: 1px solid var(--or); border-radius: 50%;
  position: relative;
}
.fleche-bas::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: .6rem; height: .6rem;
  border-right: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: translate(-50%, -50%) rotate(45deg);
}

/* Sous 1280 px, les coins du bas toucheraient le chardon : l'indication, le nom de la compagnie et « À l'affiche »
   s'empilent sous lui, comme au téléphone. */
@media (max-width: 79.99rem) {
  .ouverture { --w: min(50vw, calc((100vh - 25rem) * .641), 31rem); --w: min(50vw, calc((100svh - 25rem) * .641), 31rem); padding-bottom: 1.5rem; }
  .ouverture-pied { position: static; margin-top: 1rem; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .ouverture-titre p { max-width: none; }
  .ouverture-titre p br { display: none; }
  .ouverture-affiche { justify-items: start; text-align: left; }
  .ouverture-affiche .fleche-bas { grid-column: 2; }
}
@media (max-width: 47.99rem) {
  .ouverture { --w: min(54vw, calc((100vh - 21rem) * .641), 15rem); --w: min(54vw, calc((100svh - 21rem) * .641), 15rem); padding-bottom: 1.25rem; }
  .branche { font-size: 1.0625rem; padding-inline: .25rem; }
  .branche[data-branche="spectacles"] { --x: 20; }
  .branche[data-branche="pros"] { white-space: normal; width: 5.2rem; }
  .branche[data-branche="contact"] { --x: 280; }
}

/* ---------- 5. Blocs de l'accueil ---------- */
.bloc { padding: clamp(4rem, 9vw, 7.5rem) var(--marge); }
.bloc-fond { background: var(--nuit-profond); }
.bloc-clair { background: var(--blanc); color: var(--nuit); }
.tete { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.tete h2, .titre-page {
  color: var(--turquoise); font-size: clamp(2.3rem, 5.2vw, 3.75rem); font-weight: 500; line-height: 1.05; letter-spacing: -.01em;
}
.tete-chapo { flex-basis: 100%; max-width: 35rem; color: var(--pale); }
.pic { display: block; flex: none; height: clamp(3.4rem, 6.5vw, 5.25rem); fill: var(--or); margin-bottom: .2rem; }
.pic svg { display: block; width: 100%; height: 100%; overflow: visible; }
.intertitre { margin-bottom: 1rem; color: var(--or); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Macbeth à l'affiche */
.affiche-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.affiche-visuel img { width: 100%; border-radius: 4px; }
.titre-geant { margin-top: .35rem; color: var(--turquoise); font-size: clamp(3.4rem, 8vw, 6.75rem); font-weight: 500; line-height: .95; letter-spacing: -.02em; }
.accroche { margin-top: 1.5rem; max-width: 30rem; color: var(--or); font-size: clamp(1.2rem, 1.1rem + .6vw, 1.5rem); font-style: italic; line-height: 1.4; }
.rendez-vous { margin-top: 2rem; padding-block: 1.1rem; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.rendez-vous-date { color: var(--blanc); font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.rendez-vous-lieu { margin-top: .2rem; }
.rendez-vous-note { color: var(--clair); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; margin-top: 1.75rem; }

/* Spectacles */
.cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.carte-lien { display: block; height: 100%; color: inherit; text-decoration: none; }
.carte-image { position: relative; overflow: hidden; border-radius: 4px; background: var(--nuit-profond); }
.carte-image img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.carte-lien:hover .carte-image img { transform: scale(1.035); }
.carte-image-entiere img { object-fit: contain; }   /* visuel en largeur : on le montre entier */
.carte-image figcaption {
  position: absolute; left: 0; bottom: 0; margin: 0; padding: .15rem .55rem; background: rgba(30, 37, 83, .88); color: var(--pale); font-size: .8125rem;
}
.carte-meta { margin-top: .9rem; color: var(--clair); font-size: 1rem; }
.carte-titre { color: var(--blanc); font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.carte-lien:hover .carte-titre { color: var(--or-clair); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.carte-texte { margin-top: .4rem; }
.carte .etiquette { margin-top: .7rem; }

/* Agenda */
.dates { border-top: 1px solid var(--trait); }
.date {
  display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center;
  padding-block: 1.35rem; border-bottom: 1px solid var(--trait);
}
.date-jour { display: flex; align-items: baseline; gap: .6rem; color: var(--pale); }
.date-numero { color: var(--or); font-size: 2.6rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.date-mois { font-size: 1rem; line-height: 1.2; }
.date-quoi h3, .date-quoi h4 { color: var(--blanc); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.date-quoi h3 a { color: inherit; }
.date-quoi h3 a:hover { color: var(--or-clair); }
.date-precision { color: var(--pale); font-size: 1.0625rem; font-weight: 400; }
.date-note { color: var(--clair); }
.date-a-venir { padding-block: 1.9rem; }
.date-a-venir .date-numero { font-size: 4rem; }
.dates-passees .date-numero { color: var(--clair); }
.dates-passees .date-quoi h4 { color: var(--pale); font-weight: 500; }
.agenda-suite { margin-top: 2.75rem; }
#agenda .intertitre { margin-top: 3rem; color: var(--clair); }

/* La compagnie */
.compagnie-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.compagnie-citation blockquote p {
  color: var(--or); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-style: italic; font-weight: 400; line-height: 1.2;
}
.compagnie-citation blockquote p::before { content: "«\00a0"; }
.compagnie-citation blockquote p::after { content: "\00a0»"; }
.compagnie-citation blockquote footer { margin-top: 1rem; color: var(--pale); }
.precision { color: var(--clair); }
.compagnie-photo { margin-top: 2.5rem; }
.compagnie-photo img { width: 100%; border-radius: 4px; }
.compagnie-texte p { max-width: 35rem; }
.compagnie-texte p + p { margin-top: 1rem; }
.equipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); }
.equipe li { display: flex; flex-direction: column; gap: .15rem; line-height: 1.35; }
.equipe strong { font-size: 1.15rem; }
.equipe span { color: var(--clair); }

/* Actualités */
.nouvelles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); }
.nouvelle-lien { display: block; color: inherit; text-decoration: none; }
.nouvelle-image { position: relative; overflow: hidden; border-radius: 4px; background: var(--nuit); }
.nouvelle-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.nouvelle-lien:hover .nouvelle-image img { transform: scale(1.035); }
.nouvelle-image figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: .15rem .55rem; background: rgba(30, 37, 83, .88); color: var(--pale); font-size: .8125rem; }
.nouvelle-date { margin-top: 1rem; color: var(--or); font-size: 1rem; }
.nouvelle-titre { margin-top: .15rem; color: var(--blanc); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.nouvelle-lien:hover .nouvelle-titre { color: var(--or-clair); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.nouvelle-chapo { margin-top: .4rem; }

/* Pros et presse */
.pros-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.documents { border-top: 1px solid var(--trait); }
.documents a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; padding: .6rem 0;
  border-bottom: 1px solid var(--trait); color: var(--blanc); text-decoration: none;
}
.document-nom { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.document-poids { flex: none; display: inline-flex; align-items: center; gap: .6rem; color: var(--clair); font-size: 1rem; white-space: nowrap; }
.document-poids::after {
  content: "↓"; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem;
  border: 1px solid var(--or); border-radius: 50%; color: var(--or); transition: background-color .2s, color .2s;
}
.documents a:hover .document-nom { color: var(--or-clair); text-decoration: underline; text-underline-offset: .2em; }
.documents a:hover .document-poids::after { background: var(--or); color: var(--nuit); }
.pros-contact { margin-top: 1.75rem; }
.presse-extrait p { color: var(--blanc); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); font-style: italic; line-height: 1.35; }
.presse-extrait p::before { content: "«\00a0"; color: var(--or); }
.presse-extrait p::after { content: "\00a0»"; color: var(--or); }
.presse-extrait footer { margin-top: .8rem; color: var(--clair); }
.presse-extrait-second { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--trait); }
.presse-extrait-second p { color: var(--pale); font-size: 1.15rem; }

/* Partenaires (bande claire : les logos sont faits pour le blanc) */
.titre-discret { color: var(--nuit); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.bloc-clair { padding-block: clamp(3rem, 6vw, 4.5rem); }
.partenaires-soutien { margin-top: .6rem; max-width: 35rem; font-size: 1.3rem; line-height: 1.35; color: var(--nuit); }
.logos-partenaires { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem 2.5rem; align-items: center; margin-block: 2.25rem; }
.logos-partenaires li { display: flex; align-items: center; justify-content: center; height: 5.5rem; }
.logos-partenaires img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.logos-partenaires .logo-sur-nuit { padding: .9rem 1.1rem; background: var(--nuit); border-radius: 4px; }  /* logo blanc */
.partenaires-merci { max-width: 56ch; color: var(--nuit); font-size: 1rem; }

/* ---------- 6. Pied de page ---------- */
.pied { background: var(--nuit-profond); padding: 0 var(--marge) 1.75rem; }
.pied-racine { display: flex; justify-content: center; }
.pied-racine img { width: min(24rem, 78vw); }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-top: 2.5rem; }
.pied-titre { margin-bottom: .75rem; color: var(--or); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pied address { line-height: 1.55; }
.pied-courriel { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.2rem; font-weight: 600; }
.pied li a, .pied-langues p a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--pale); }
.pied li a:hover, .pied-langues p a:hover { color: var(--or-clair); }
.pied-langues li { min-height: 2.25rem; }
.pied-langues [aria-current] { color: var(--blanc); font-weight: 600; }
.pied-langues small { margin-left: .35rem; padding: 0 .5rem; border: 1px solid var(--clair); border-radius: 999px; font-size: .8125rem; }
.pied-bas { max-width: 73rem; margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--trait); color: var(--clair); font-size: 1rem; }

/* ---------- 7. Pages intérieures ---------- */
.page-interieure main { display: block; }
.fil { padding: 1.5rem var(--marge) 0; }
.fil a, .lien-retour { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .5rem; font-weight: 600; }
.fil a::before, .lien-retour::before { content: "←"; }
.attente .pic { display: block; }

/* Le voile : l'éventail en plein écran, rouvert par le petit chardon */
.voile {
  --w: min(44vw, calc((100vh - 15rem) * .641), 27rem);
  --w: min(44vw, calc((100svh - 15rem) * .641), 27rem);
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: auto;
  padding: calc(var(--w) / 268.76 * 26 + 5rem) 1rem 2rem; background: var(--nuit-profond);
}
.voile[hidden] { display: none; }
html.voile-ouvert { overflow: hidden; }
.voile-fermer {
  position: absolute; right: var(--marge); top: .85rem; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem;
  padding: 0 1.1rem; background: none; border: 1px solid var(--or); border-radius: 999px; color: var(--or); font: inherit; font-weight: 600; cursor: pointer;
}
.voile-fermer:hover { background: var(--or); color: var(--nuit); }
.voile-titre { position: absolute; left: var(--marge); top: 1.45rem; color: var(--clair); font-size: 1rem; font-weight: 400; letter-spacing: .06em; }
@media (max-width: 47.99rem) {
  .voile { --w: min(54vw, calc((100vh - 16rem) * .641), 15rem); --w: min(54vw, calc((100svh - 16rem) * .641), 15rem); }
  .voile-titre { display: none; }
}

/* Fiche d'un spectacle */
.fiche-tete { padding: 1rem var(--marge) clamp(3rem, 6vw, 5rem); }
.fiche-tete .cadre { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fiche-tete h1 { margin-top: .35rem; color: var(--turquoise); font-size: clamp(3.6rem, 9vw, 7.5rem); font-weight: 500; line-height: .95; letter-spacing: -.02em; }
.fiche-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.fiche-visuel img { width: 100%; border-radius: 4px; }
.fiche-corps { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.fiche-texte > * { max-width: 35rem; }
.fiche-texte p + p { margin-top: 1.1rem; }
.fiche-texte .chapo { color: var(--blanc); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.4rem); line-height: 1.5; }
.fiche-texte h2, .fiche-cote h2, .titre-section {
  margin-bottom: 1rem; color: var(--or); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.fiche-texte h2 { margin-top: 2.75rem; }
.distribution { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1.5rem; }
.distribution dt { color: var(--clair); }
.distribution dd { margin: 0; color: var(--blanc); }
.credits { margin-top: 1.5rem; color: var(--clair); }
.fiche-cote { position: sticky; top: calc(var(--entete) + 1.5rem); padding: 1.75rem; border: 1px solid var(--or); border-radius: 6px; }
.fiche-cote .rendez-vous { margin-top: 0; padding-top: 0; border-top: 0; }
.fiche-cote .actions { margin-top: 1.25rem; }
.fiche-cote .bouton { width: 100%; text-align: center; }
.fiche-cote .documents { margin-top: 2rem; }
.fiche-cote h2 + .documents { margin-top: 0; }
.fiche-cote .cote-titre { margin-top: 2rem; }
.galerie { display: grid; grid-template-columns: minmax(0, 707fr) minmax(0, 1777fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.galerie img { width: 100%; border-radius: 4px; }
.fiche-retour { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }

/* Répertoire */
.page-tete { padding: 1.5rem var(--marge) clamp(2rem, 4vw, 3rem); }
.page-tete .tete { margin-bottom: 0; }
.repertoire { padding: 0 var(--marge) clamp(4rem, 8vw, 7rem); }
.vedette { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.vedette img { width: 100%; border-radius: 4px; }
.vedette h2 { margin-top: .35rem; color: var(--turquoise); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 500; line-height: .95; letter-spacing: -.02em; }
.vedette h2 a { color: inherit; text-decoration: none; }
.vedette h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.vedette p.vedette-texte { margin-top: 1.25rem; max-width: 32rem; }
.periode { display: flex; align-items: center; gap: 1.25rem; margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.25rem); color: var(--or); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.periode::after { content: ""; flex: 1; height: 1px; background: var(--trait); }
.cartes-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cartes-cinq { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cartes-cinq .carte-titre { font-size: 1.3rem; }

/* Page d'attente */
.attente { display: grid; place-items: center; min-height: calc(100vh - var(--entete) - 12rem); padding: clamp(3rem, 8vw, 6rem) var(--marge); text-align: center; }
.attente-pic { height: clamp(7rem, 16vw, 10rem); margin-inline: auto; }
.attente h1 { margin-top: 1.25rem; color: var(--turquoise); font-size: clamp(2.6rem, 6vw, 4.25rem); font-weight: 500; line-height: 1.05; }
.attente p { max-width: 34rem; margin: 1rem auto 0; }
.attente .actions { justify-content: center; }

/* ---------- Largeurs intermédiaires et téléphone ---------- */
@media (max-width: 62.49rem) {
  .cartes, .cartes-trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartes-cinq { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos-partenaires { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fiche-corps { grid-template-columns: minmax(0, 1fr); }
  .fiche-cote { position: static; max-width: 34rem; }
  .date { grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1rem 1.25rem; }
}
@media (max-width: 47.99rem) {
  .affiche-grille, .compagnie-grille, .pros-grille, .fiche-tete .cadre, .vedette { grid-template-columns: minmax(0, 1fr); }
  .fiche-tete .cadre > .fiche-visuel { order: -1; }
  .cartes, .cartes-trois, .cartes-cinq { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .carte-lien { display: grid; grid-template-columns: 7.25rem minmax(0, 1fr); column-gap: 1.1rem; align-content: start; }
  .carte-image { grid-row: 1 / span 6; align-self: start; }
  .carte-meta { margin-top: 0; }
  .carte-titre, .cartes-cinq .carte-titre { font-size: 1.4rem; }
  .carte .etiquette { justify-self: start; }
  .carte-image figcaption { position: static; padding: .2rem 0 0; background: none; color: var(--clair); }
  .nouvelles { grid-template-columns: minmax(0, 1fr); }
  .date { grid-template-columns: 4.25rem minmax(0, 1fr); gap: .4rem 1rem; align-items: start; }
  .date-jour { flex-direction: column; gap: .2rem; }
  .date-numero, .date-a-venir .date-numero { font-size: 2.4rem; }
  .date-action { grid-column: 2; }
  .equipe { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .logos-partenaires { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
  .pied-grille { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .galerie { grid-template-columns: minmax(0, 1fr); }
  .distribution { display: block; }
  .distribution dt { margin-top: .8rem; }
  .fiche-cote { padding: 1.25rem; }
  .document-nom { font-size: 1.0625rem; }
}

/* ---------- 8. Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
