/* Piste C2 — « Le chardon, en blanc » (tour 2). Fond blanc, dessin noir, la couleur dans les textes (rose) et les
   aplats (turquoise, noir). Sommaire : 1 base · 2 colonne de gauche et barre du haut · 3 le chardon et l'éventail
   · 4 ouverture et cartel · 5 blocs de l'accueil · 6 pied de page · 7 pages intérieures · 8 largeurs · 9 animations
   réduites. */

/* ---------- 1. Base ---------- */
:root {
  --blanc: var(--t2-fond);
  --noir: var(--t2-texte);
  --rose: var(--t2-rose);
  --turquoise: var(--t2-turquoise);
  --doux: #5A5A56;                       /* le noir, éclairci : mentions, crédits (6,9 sur blanc) */
  --trait: rgba(29, 29, 27, .16);
  --papier: #F3F3F1;                     /* fond des affiches montrées entières */
  --marge: clamp(1.25rem, 5vw, 4rem);
  --col: clamp(16rem, 20vw, 20rem);      /* largeur de la colonne de gauche */
  --barre: 0rem;                         /* hauteur de la barre du haut (téléphone, tablette en hauteur) */
}
@media (max-width: 63.99rem) { :root { --col: 0rem; --barre: 5.25rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--barre); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--chardons-police);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, address, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: .22em; }
a:hover { color: var(--rose); }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--noir); outline-offset: 3px; border-radius: 2px; }
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(--noir); color: var(--blanc); font-weight: 700; border-radius: 999px;
}
.evitement:focus { top: .75rem; color: var(--blanc); outline-color: var(--rose); }

main, .pied { margin-left: var(--col); }
.cadre { max-width: 68rem; margin-inline: auto; }
.surtitre { display: block; color: var(--rose); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .5rem 1.6rem;
  background: var(--rose); color: var(--blanc); font-weight: 700; text-decoration: none; border-radius: 999px;
  border: 2px solid var(--rose); transition: background-color .2s, border-color .2s, color .2s;
}
.bouton:hover { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.bouton-noir { background: var(--noir); border-color: var(--noir); }
.bouton-noir:hover { background: var(--blanc); color: var(--noir); }
.lien-fleche {
  display: inline-flex; align-items: center; min-height: 2.75rem; gap: .5rem; font-weight: 700; text-decoration: underline;
}
.lien-fleche::after { content: "→"; color: var(--rose); transition: transform .2s; }
.lien-fleche:hover::after { transform: translateX(.3rem); }
.etiquette {
  display: inline-block; padding: .1rem .75rem; border: 1.5px solid currentColor; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.etiquette-pleine { background: var(--turquoise); border-color: var(--turquoise); color: var(--noir); }
.suite { margin-top: 2.25rem; }
figcaption { margin-top: .45rem; color: var(--doux); font-size: .9375rem; line-height: 1.4; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; margin-top: 1.75rem; }

/* Bandes de couleur : l'aplat turquoise (texte noir) et la bande noire (texte blanc). */
.sur-turquoise { background: var(--turquoise); --trait: rgba(29, 29, 27, .32); --doux: var(--noir); }
.sur-turquoise a { text-decoration-color: var(--noir); }
.sur-turquoise a:hover { color: var(--noir); text-decoration-thickness: 4px; }
.sur-turquoise .lien-fleche::after { color: var(--noir); }
.sur-noir { background: var(--noir); color: var(--blanc); --trait: rgba(255, 255, 255, .28); --doux: #D2D2CE; }
.sur-noir a { text-decoration-color: var(--turquoise); }
.sur-noir a:hover { color: var(--turquoise); }
.sur-noir .lien-fleche::after { color: var(--turquoise); }
.sur-noir :focus-visible { outline-color: var(--blanc); }
.sur-noir .bouton { background: var(--turquoise); border-color: var(--turquoise); color: var(--noir); }
.sur-noir .bouton:hover { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }

/* ---------- 2. Colonne de gauche (dès 1024 px) et barre du haut (en dessous) ---------- */
/* La colonne prend le fond de la section qui passe sous le logo (data-fond), le logo sa déclinaison (data-logo). */
.colonne {
  --c-fond: var(--blanc); --c-texte: var(--noir); --c-accent: var(--rose); --c-point: var(--turquoise); --c-trait: var(--trait);
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 50; width: var(--col);
  display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.5rem; overflow-y: auto;
  background: var(--c-fond); color: var(--c-texte); border-right: 1px solid var(--c-trait);
  transition: background-color .45s, color .45s, border-color .45s;
}
.colonne[data-fond="turquoise"] { --c-fond: var(--turquoise); --c-accent: var(--noir); --c-point: var(--noir); --c-trait: rgba(29, 29, 27, .32); }
.colonne[data-fond="noir"] { --c-fond: var(--noir); --c-texte: var(--blanc); --c-accent: var(--turquoise); --c-trait: rgba(255, 255, 255, .28); }
.colonne :focus-visible { outline-color: var(--c-texte); }

.logo { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 997 / 420; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s; }
.colonne[data-logo="noir"] .logo-noir, .colonne[data-logo="rose"] .logo-rose,
.colonne[data-logo="turquoise"] .logo-turquoise, .colonne[data-logo="blanc"] .logo-blanc { opacity: 1; }

.menu-bouton { display: none; }
.colonne-corps { display: flex; flex-direction: column; flex: 1; margin-top: 1.1rem; }
.devise { max-width: 15rem; font-size: 1rem; line-height: 1.45; }
.menu-liens { margin-top: 1.75rem; padding-top: .75rem; border-top: 3px solid var(--c-texte); transition: border-color .45s; }
.menu-liens a {
  display: flex; align-items: center; gap: .7rem; min-height: 3rem; padding-block: .3rem;
  font-size: 1.3rem; font-weight: 600; line-height: 1.2; text-decoration: none;
}
/* Le bourgeon : le même point qu'au bout des pics du chardon. Il grossit sur la rubrique qu'on lit ou qu'on vise. */
.menu-liens a::before {
  content: ""; flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c-point);
  transform: scale(.5); transition: transform .2s, background-color .2s;
}
.menu-liens a:hover, .menu-liens a.est-echo { color: var(--c-accent); text-decoration: underline; text-decoration-color: currentColor; }
.menu-liens a:hover::before, .menu-liens a.est-echo::before, .menu-liens a[aria-current]::before { transform: scale(1); }
.menu-liens a:hover::before, .menu-liens a.est-echo::before { background: var(--c-accent); }
.menu-liens a[aria-current] { font-weight: 700; }
.langues { display: flex; align-items: flex-start; gap: 1.1rem; margin-top: auto; padding-top: 1.5rem; }
.langue { display: inline-flex; flex-direction: column; font-size: 1rem; font-weight: 600; line-height: 1.25; }
.langue-active { text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.langue-bientot { cursor: default; font-weight: 400; }
.langue-bientot small { font-size: .8125rem; }

.menu-bouton-traits, .menu-bouton-traits::before, .menu-bouton-traits::after {
  display: block; width: 1.15rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform .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); }

@media (max-width: 63.99rem) {
  .colonne {
    position: sticky; bottom: auto; width: auto; height: var(--barre); flex-direction: row; align-items: center;
    justify-content: space-between; gap: 1rem; padding: 0 var(--marge); overflow: visible;
    border-right: 0; border-bottom: 1px solid var(--c-trait);
  }
  .logo { width: auto; height: 4.4rem; }
  .menu-bouton {
    display: inline-flex; align-items: center; gap: .65rem; min-height: 2.9rem; padding: 0 1.1rem;
    background: none; border: 2px solid currentColor; border-radius: 999px; color: inherit;
    font: inherit; font-size: 1.0625rem; font-weight: 700; cursor: pointer;
  }
  .colonne-corps {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: .25rem var(--marge) 1.5rem;
    background: var(--c-fond); border-bottom: 3px solid var(--c-texte);
    max-height: calc(100vh - var(--barre)); max-height: calc(100svh - var(--barre)); overflow-y: auto;
    transition: background-color .45s;
  }
  .colonne-corps.est-ouvert { display: flex; }
  .devise { display: none; }
  .menu-liens { margin-top: 0; padding-top: 0; border-top: 0; }
  .menu-liens a { min-height: 3.5rem; font-size: 1.5rem; border-bottom: 1px solid var(--c-trait); }
  .langues { margin-top: 0; padding-top: 1.25rem; }
}

/* ---------- 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(--noir); 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(--noir); transition: opacity .3s; }
.c-plume { position: absolute; inset: 0; transform-origin: 49.115% 30.293%; }
/* Un secteur allumé : le même dessin, en rose, vu à travers le masque du secteur. */
.c-lueur { fill: var(--rose); opacity: 0; transition: opacity .3s; will-change: opacity; }
.c-lueur.est-proche { opacity: .5; }
.c-lueur.est-allumee, .c-lueur.est-eclair, .scene.est-ouverte .c-lueur, .scene.est-demo .c-lueur { opacity: 1; }
.c-lueur.est-eclair { transition-duration: .2s; }
.c-secteurs path { fill: transparent; pointer-events: all; cursor: pointer; }
.c-secteurs line {
  stroke: var(--noir); stroke-width: 1.25px; vector-effect: non-scaling-stroke; stroke-linecap: round;
  opacity: 0; transition: opacity .3s, stroke .3s;
}
.c-secteurs line.est-trace, .scene.est-ouverte .c-secteurs line, .scene.est-demo .c-secteurs line { stroke: var(--rose); opacity: 1; }
/* Les bourgeons : un point turquoise au bout de chaque groupe de pics. */
.c-secteurs circle { fill: var(--turquoise); stroke: var(--blanc); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; transition: fill .3s, transform .3s; }
.c-secteurs circle.est-trace, .scene.est-ouverte .c-secteurs circle, .scene.est-demo .c-secteurs circle { fill: var(--rose); transform: scale(1.25); }

/* La fleur respire : la plume oscille de moins d'un degré. Elle s'arrête dès qu'on la survole ou qu'on l'ouvre. */
.scene.est-montee .c-plume { animation: respirer 7s ease-in-out infinite alternate; }
.scene:hover .c-plume, .scene.a-un-actif .c-plume, .scene.est-ouverte .c-plume, .scene:focus-within .c-plume { animation-play-state: paused; }
@keyframes respirer {
  from { transform: rotate(-.7deg); }
  to { transform: rotate(.7deg); }
}
@keyframes battre {
  0%, 70%, 100% { transform: scale(1); }
  82% { transform: scale(1.7); }
}

.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; width: max-content; min-height: 2.75rem; min-width: 2.75rem; max-width: var(--place, 15rem); padding-inline: .35rem;
  color: var(--noir); font-size: clamp(1.125rem, .9rem + .55vw, 1.5rem); font-weight: 600; line-height: 1.15;
  text-decoration: none; text-wrap: balance;
  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, la rubrique 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%; justify-content: flex-end; text-align: right; }
.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, .scene.est-demo .branche, .branche.est-active, .branche:focus { --d: 0; opacity: 1; pointer-events: auto; }
.scene.est-ouverte .branche span, .scene.est-demo .branche span { border-bottom-color: var(--rose); }
.branche.est-active, .branche.est-eclair, .branche:hover, .branche:focus-visible { color: var(--rose); }
.branche.est-active span, .branche.est-eclair span, .branche.est-proche span, .branche:hover span { border-bottom-color: var(--rose); }
.scene.est-ouverte li:nth-child(2) .branche, .scene.est-demo li:nth-child(2) .branche { transition-delay: .05s; }
.scene.est-ouverte li:nth-child(3) .branche, .scene.est-demo li:nth-child(3) .branche { transition-delay: .1s; }
.scene.est-ouverte li:nth-child(4) .branche, .scene.est-demo li:nth-child(4) .branche { transition-delay: .15s; }
.scene.est-ouverte li:nth-child(5) .branche, .scene.est-demo li:nth-child(5) .branche { transition-delay: .2s; }
.scene.est-ouverte li:nth-child(6) .branche, .scene.est-demo li:nth-child(6) .branche { transition-delay: .25s; }

/* Dès 1024 px : la place ne manque pas, les six rubriques sont posées autour de la fleur dès l'arrivée, reliées
   à leurs pics par un trait fin. Le survol ne fait qu'allumer. */
@media (min-width: 64rem) {
  .branche { --d: 0; opacity: 1; pointer-events: auto; }
  .c-secteurs line { opacity: .38; }
}
/* En dessous : les mots sont repliés dans leurs bourgeons, qui battent doucement l'un après l'autre. */
@media (max-width: 63.99rem) {
  .c-secteurs circle { r: 5.5px; }   /* la fleur est plus petite : les bourgeons, proportionnellement plus gros */
  .scene:not(.est-ouverte):not(.est-demo) .c-secteurs circle { animation: battre 4.8s ease-in-out infinite; }
  .c-secteurs circle:nth-of-type(2) { animation-delay: .25s; }
  .c-secteurs circle:nth-of-type(3) { animation-delay: .5s; }
  .c-secteurs circle:nth-of-type(4) { animation-delay: .75s; }
  .c-secteurs circle:nth-of-type(5) { animation-delay: 1s; }
  .c-secteurs circle:nth-of-type(6) { animation-delay: 1.25s; }
  /* La place d'un mot = ce qui reste entre son point d'ancrage et le bord de l'écran ; au-delà, deux lignes. */
  .branche[data-cote="g"] { --place: calc((100vw - var(--w)) / 2 + var(--x) * var(--u) - .5rem); }
  .branche[data-cote="d"] { --place: calc((100vw - var(--w)) / 2 + (268.76 - var(--x)) * var(--u) - .5rem); }
}

/* ---------- 4. Ouverture et cartel ---------- */
.ouverture {
  --w: min(calc(100vw - var(--col) - 2 * var(--marge) - 19rem), calc((100vh - 11rem) * .6), 30rem);
  --w: min(calc(100vw - var(--col) - 2 * var(--marge) - 19rem), calc((100svh - 11rem) * .6), 30rem);
  position: relative; display: grid; grid-template-rows: 1fr auto auto;
  min-height: calc(100vh - var(--barre)); min-height: calc(100svh - var(--barre));
  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.5rem); padding-bottom: 1rem;
}
.ouverture-devise { display: none; }
/* Le cartel : la ligne de sol sur laquelle pousse la fleur. Macbeth, sa date, son lieu, le bouton pour réserver. */
.cartel {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem clamp(1.5rem, 3vw, 3rem);
  width: 100%; max-width: 68rem; margin-inline: auto; padding-top: .9rem; border-top: 3px solid var(--noir);
}
.cartel-nom { display: flex; flex-direction: column; line-height: 1.15; }
.cartel-titre { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.cartel-titre:hover { text-decoration: underline; }
.cartel-quand { line-height: 1.35; }
.cartel-quand time { display: block; font-size: 1.25rem; font-weight: 700; }
.cartel-quand span { display: block; color: var(--doux); }
.cartel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }

@media (min-width: 64rem) and (max-width: 79.99rem) {
  /* Colonne étroite : le cartel passe sur deux rangs (le bouton dessous), la fleur lui laisse la place. */
  .ouverture {
    --w: min(calc(100vw - var(--col) - 2 * var(--marge) - 19rem), calc((100vh - 16.5rem) * .6), 30rem);
    --w: min(calc(100vw - var(--col) - 2 * var(--marge) - 19rem), calc((100svh - 16.5rem) * .6), 30rem);
  }
  .cartel { grid-template-columns: auto minmax(0, 1fr); }
  .cartel-actions { grid-column: 1 / -1; }
}
@media (max-width: 63.99rem) {
  .ouverture {
    --w: min(calc(100vw - 2 * var(--marge) - 19rem), calc((100vh - var(--barre) - 19rem) * .6), 24rem);
    --w: min(calc(100vw - 2 * var(--marge) - 19rem), calc((100svh - var(--barre) - 19rem) * .6), 24rem);
    grid-template-rows: 1fr auto auto;
  }
  .ouverture-devise { display: block; margin: 0 auto 1rem; max-width: 26rem; text-align: center; line-height: 1.45; }
  .cartel { grid-template-columns: auto minmax(0, 1fr); }
  .cartel-actions { grid-column: 1 / -1; }
}
@media (max-width: 39.99rem) {
  .ouverture {
    --w: min(54vw, calc((100vh - var(--barre) - 23rem) * .6), 15rem);
    --w: min(54vw, calc((100svh - var(--barre) - 23rem) * .6), 15rem);
  }
  .branche { font-size: 1.0625rem; padding-inline: .25rem; }
  .branche[data-branche="spectacles"] { --x: 20; }
  .branche[data-branche="contact"] { --x: 280; }
  .cartel { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .cartel-quand time { font-size: 1.15rem; }
}

/* ---------- 5. Blocs de l'accueil ---------- */
.bloc { padding: clamp(4rem, 8vw, 7rem) var(--marge); }
.bloc-court { padding-block: clamp(3rem, 6vw, 4.5rem); }
.bloc-trait > .cadre { padding-top: clamp(4rem, 8vw, 7rem); border-top: 3px solid var(--noir); }
.bloc-trait { padding-top: 0; }
.tete { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.tete h2, .titre-page {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem); font-weight: 700; line-height: 1.02; letter-spacing: -.02em;
}
/* Sous chaque grand titre, un trait épais : turquoise sur blanc et sur noir, noir sur turquoise. */
.tete h2::after, .titre-page::after {
  content: ""; display: block; width: 4.5rem; height: .5rem; margin-top: 1rem; background: var(--turquoise);
}
.sur-turquoise .tete h2::after { background: var(--noir); }
.tete-chapo { max-width: 35rem; margin-top: 1rem; font-size: 1.2rem; line-height: 1.45; }
.intertitre { margin-bottom: 1rem; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Macbeth à l'affiche */
.affiche { padding-top: clamp(3rem, 6vw, 5rem); }
.affiche-grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.affiche-visuel img { width: 100%; }
.titre-geant { margin-top: .3rem; font-size: clamp(3.4rem, 2rem + 5.5vw, 6.25rem); font-weight: 700; line-height: .95; letter-spacing: -.03em; }
.accroche { margin-top: 1.4rem; max-width: 30rem; color: var(--rose); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); font-style: italic; font-weight: 500; line-height: 1.35; }
.affiche-presentation { margin-top: 1.25rem; max-width: 32rem; }
.affiche-date { margin-top: 1rem; max-width: 32rem; padding-top: 1rem; border-top: 1px solid var(--trait); }

/* Spectacles : grandes vignettes, une photo de plateau au même format pour chaque spectacle */
.cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.25rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.75rem); }
.carte-lien { display: block; height: 100%; color: inherit; text-decoration: none; }
.carte-image { position: relative; }
.carte-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--noir); }
/* Au survol, la photo se décale et laisse voir un aplat turquoise : le geste d'une feuille qu'on soulève. */
.carte-image::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 3 / 2; background: var(--turquoise); }
.carte-image img { position: relative; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.carte-lien:hover .carte-image img, .carte-lien:focus-visible .carte-image img { transform: translate(-.5rem, -.5rem); }
.carte-meta { margin-top: 1rem; color: var(--doux); font-size: 1rem; }
.carte-titre { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.carte-lien:hover .carte-titre { color: var(--rose); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .18em; }
.carte-lien:hover { color: inherit; }
.carte-texte { margin-top: .4rem; max-width: 30rem; }
.carte .etiquette { margin-top: .8rem; }
.sur-noir .carte-image::before { background: var(--rose); }
.sur-noir .carte-lien:hover .carte-titre { color: var(--turquoise); }

/* Agenda (sur l'aplat turquoise) */
.dates { border-top: 3px solid var(--noir); }
.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; }
.date-numero { font-size: 2.6rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.date-mois { font-size: 1rem; line-height: 1.2; }
.date-quoi h3, .date-quoi h4 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.date-precision { font-size: 1.0625rem; font-weight: 400; }
.date-a-venir { padding-block: 1.9rem; }
.date-a-venir .date-numero { font-size: 4.5rem; }
.date-a-venir .date-quoi h3 { font-size: 2rem; }
.dates-passees { border-top-width: 1px; border-top-color: var(--trait); }
.dates-passees .date-quoi h4 { font-weight: 600; }
#agenda .intertitre { margin-top: 3rem; }

/* La compagnie */
.compagnie-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.compagnie-citation blockquote p {
  color: var(--rose); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); font-style: italic; font-weight: 500; line-height: 1.15;
}
.compagnie-citation blockquote p::before { content: "«\00a0"; }
.compagnie-citation blockquote p::after { content: "\00a0»"; }
.compagnie-citation blockquote footer { margin-top: 1rem; }
.precision { color: var(--doux); }
.compagnie-photo { margin-top: 2.5rem; }
.compagnie-photo img { width: 100%; }
.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: 3px solid var(--noir); }
.equipe li { display: flex; flex-direction: column; gap: .15rem; line-height: 1.35; }
.equipe strong { font-size: 1.15rem; }
.equipe span { color: var(--doux); font-size: 1rem; }

/* Actualités : les affiches sont montrées entières, sur un fond papier */
.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-lien:hover { color: inherit; }
.nouvelle-image { position: relative; background: var(--papier); }
.nouvelle-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: .75rem; }
.nouvelle-image figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: .15rem .55rem; background: var(--blanc); font-size: .875rem; }
.nouvelle-date { margin-top: 1rem; color: var(--rose); font-size: 1rem; font-weight: 600; }
.nouvelle-titre { margin-top: .15rem; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.nouvelle-lien:hover .nouvelle-titre { color: var(--rose); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .18em; }
.nouvelle-chapo { margin-top: .4rem; }

/* Pros et presse (sur la bande noire) */
.pros-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.intertitre + .documents, .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); 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(--doux); 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: 2px solid var(--turquoise); border-radius: 50%; color: inherit; transition: background-color .2s, color .2s;
}
.documents a:hover .document-nom { text-decoration: underline; text-underline-offset: .2em; }
.documents a:hover .document-poids::after { background: var(--turquoise); color: var(--noir); }
.pros-contact { margin-top: 1.75rem; }
.presse-extrait p { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); font-style: italic; line-height: 1.35; }
.presse-extrait p::before { content: "«\00a0"; color: var(--turquoise); }
.presse-extrait p::after { content: "\00a0»"; color: var(--turquoise); }
.presse-extrait footer { margin-top: .8rem; color: var(--doux); }
.presse-extrait-second { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--trait); }
.presse-extrait-second p { font-size: 1.15rem; }

/* Partenaires */
.partenaires-soutien { max-width: 35rem; font-size: 1.3rem; line-height: 1.35; }
.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-noir { padding: .9rem 1.1rem; background: var(--noir); }  /* logo blanc */
.partenaires-merci { max-width: 56ch; color: var(--doux); font-size: 1rem; }

/* ---------- 6. Pied de page ---------- */
.pied { padding: 0 var(--marge) 1.75rem; }
.pied > .cadre { border-top: 3px solid var(--noir); }
.pied-racine img { width: min(26rem, 80vw); margin-top: -1px; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-top: 2rem; }
.pied-titre { margin-bottom: .6rem; font-size: 1rem; font-weight: 700; 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.25rem; font-weight: 700; }
.pied-divers p a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.pied-langues li { min-height: 2.25rem; }
.pied-langues [aria-current] { font-weight: 700; }
.pied-langues small { margin-left: .35rem; padding: 0 .5rem; border: 1px solid currentColor; border-radius: 999px; font-size: .8125rem; }
.pied-langues .langue-bientot { color: var(--doux); }
.pied-bas { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--trait); color: var(--doux); font-size: 1rem; }

/* ---------- 7. Pages intérieures ---------- */
.fil { padding-bottom: .5rem; }
.fil a, .lien-retour { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .5rem; font-weight: 700; }
.fil a::before, .lien-retour::before { content: "←"; color: var(--rose); }

/* Fiche d'un spectacle : le titre et la prochaine date d'abord, la photo ensuite (rien à voir avec l'accueil) */
.fiche-tete { padding: clamp(1.5rem, 4vw, 3rem) var(--marge) clamp(2.5rem, 5vw, 4rem); }
.fiche-tete-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.fiche-tete h1 { margin-top: .3rem; font-size: clamp(4rem, 2rem + 8vw, 8.5rem); font-weight: 700; line-height: .9; letter-spacing: -.035em; }
.fiche-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.prochaine { padding: 1.5rem 1.6rem 1.7rem; background: var(--turquoise); }
.prochaine h2 { font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.prochaine-date { margin-top: .6rem; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.prochaine-lieu { margin-top: .4rem; line-height: 1.4; }
.prochaine .bouton { margin-top: 1.1rem; width: 100%; text-align: center; }
.fiche-bande { background: var(--noir); color: var(--blanc); }
.fiche-bande img { width: 100%; max-height: 82vh; object-fit: cover; }
.fiche-bande figcaption { margin: 0; padding: .7rem var(--marge) .8rem; color: var(--blanc); }
.fiche-corps { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.fiche-texte > * { max-width: 35rem; }
.fiche-texte p + p { margin-top: 1.1rem; }
.fiche-texte .chapo { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.45rem); font-weight: 500; line-height: 1.45; }
.fiche-texte h2, .fiche-cote h2 { margin-bottom: 1rem; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fiche-texte h2 { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 3px solid var(--noir); }
.distribution { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1.5rem; }
.distribution dt { color: var(--doux); }
.distribution dd { font-weight: 600; }
.credits { margin-top: 1.5rem; color: var(--doux); font-size: 1rem; }
.fiche-cote figure + figure, .fiche-cote figure + div { margin-top: 2rem; }
.fiche-cote img { width: 100%; }
.fiche-cote .portrait { max-width: 17rem; }
.fiche-retour { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }

/* Répertoire */
.page-tete { padding: clamp(2.5rem, 6vw, 5rem) var(--marge) clamp(2rem, 4vw, 3rem); }
.page-tete .tete-chapo { margin-top: 1.25rem; }
.vedette { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.bloc.vedette-bloc { padding-top: clamp(1rem, 2vw, 2rem); }
.vedette img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.vedette h2 { margin-top: .3rem; font-size: clamp(3rem, 2rem + 4.5vw, 5.5rem); font-weight: 700; line-height: .95; letter-spacing: -.03em; }
.vedette h2 a { text-decoration: none; }
.vedette h2 a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: .12em; }
.vedette-texte { margin-top: 1.25rem; max-width: 32rem; }
.vedette-date { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--trait); max-width: 32rem; }
.cartes-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cartes-trois .carte-titre { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.7rem); }

/* Page d'attente */
.attente { display: grid; align-content: center; justify-items: start; min-height: calc(100vh - var(--barre) - 16rem); padding: clamp(3rem, 8vw, 6rem) var(--marge); }
.attente > * { width: 100%; max-width: 68rem; margin-inline: auto; }
.attente-racine { width: min(30rem, 100%); }
.attente h1 { margin-top: 1.5rem; font-size: clamp(3.4rem, 2rem + 6vw, 6.5rem); font-weight: 700; line-height: .95; letter-spacing: -.03em; }
.attente h1 em { color: var(--rose); font-style: normal; }
.attente p.attente-texte { margin-top: 1.25rem; font-size: 1.2rem; }
.attente p.attente-texte span { display: block; max-width: 34rem; }

/* ---------- 8. Largeurs intermédiaires et téléphone ---------- */
@media (max-width: 79.99rem) {
  .logos-partenaires { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .date { grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1rem 1.25rem; }
  .date-a-venir .date-jour { flex-direction: column; gap: .3rem; }
  .fiche-corps { grid-template-columns: minmax(0, 1fr); }
  .fiche-cote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; max-width: 44rem; }
  .fiche-cote figure + figure, .fiche-cote figure + div { margin-top: 0; }
  .cartes-trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 47.99rem) {
  .affiche-grille, .compagnie-grille, .pros-grille, .fiche-tete-grille, .vedette { grid-template-columns: minmax(0, 1fr); }
  .cartes, .cartes-trois { grid-template-columns: minmax(0, 1fr); }
  .nouvelles { grid-template-columns: minmax(0, 1fr); }
  .date { grid-template-columns: 4.5rem 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.6rem; }
  .date-a-venir .date-quoi h3 { font-size: 1.6rem; }
  .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: 1.75rem; }
  .distribution { display: block; }
  .distribution dt { margin-top: .8rem; }
  .fiche-cote { grid-template-columns: minmax(0, 1fr); }
  .document-nom { font-size: 1.0625rem; }
  .fiche-bande img { max-height: none; }
}

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