/* =========================================================
   TOM TOREL — Compagnie Un Oiseau dans la Tête
   Feuille de style unique. Vanilla CSS, aucune dépendance.
   Palette : bleu #486399, bleus ardoise, crème et liserés dorés.
   ========================================================= */

/* ---------- 1. Jetons de design ---------- */
:root {
  /* Bleus de fond */
  --nuit:        #486399;
  --nuit-2:      #3f5888;
  --velours:     #354d7b;
  --velours-2:   #5b74a8;

  /* Bleus accent */
  --ocre:        #7897cc;
  --ocre-vif:    #9bb7e5;
  --ocre-sombre: #2d4775;
  --braise:      #5d79ad;

  /* Or */
  --or:          #dfb95e;
  --or-clair:    #f5dda1;
  --or-sombre:   #a98232;

  /* Encres */
  --creme:       #fff8eb;
  --brume:       #dbe5f4;
  --brume-2:     #b6c6df;

  /* Typo */
  --serif:  "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:   "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Mesures */
  --page:    1180px;
  --etroit:  760px;
  --filet:   1px solid rgba(200, 162, 74, 0.28);
  --ombre:   0 30px 80px -30px rgba(0, 0, 0, 0.9);
  --lent:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--nuit);
  color: var(--creme);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.75;
  overflow-x: hidden;
  /* Velours : dégradés très lents, jamais plats */
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(123, 151, 204, 0.28), transparent 60%),
    radial-gradient(90% 60% at 100% 100%, rgba(223, 185, 94, 0.12), transparent 65%),
    linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 45%, var(--nuit) 100%);
  background-attachment: fixed;
}

/* Grain argentique : une texture SVG, pas une image à charger */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* Vignettage : les bords de la salle restent dans l'ombre */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(115% 95% at 50% 40%, transparent 58%, rgba(40, 61, 98, 0.24) 100%);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--or-clair); text-decoration: none; }

::selection { background: var(--ocre); color: var(--creme); }

:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Barre de défilement assortie */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--nuit); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--or-sombre), var(--ocre-sombre));
  border-radius: 99px;
  border: 3px solid var(--nuit);
}

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 6rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* Le mot doré : dégradé métal, pas une couleur plate */
.or {
  background: linear-gradient(100deg, var(--or-sombre) 0%, var(--or-clair) 38%, var(--or) 55%, var(--or-clair) 78%, var(--or-sombre) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: metal 9s ease-in-out infinite;
}
@keyframes metal {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.surtitre {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--or);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.surtitre::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or));
  flex: none;
}

.chapeau {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.85vw, 1.75rem);
  line-height: 1.5;
  color: var(--brume);
  font-style: italic;
}

.legende {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brume-2);
}

/* Lettrine : première lettre en capitale ocre */
.lettrine::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.6em;
  line-height: 0.78;
  padding: 0.06em 0.12em 0 0;
  color: var(--ocre-vif);
  text-shadow: 0 0 30px rgba(93, 121, 173, 0.5);
}

/* ---------- 4. Mise en page ---------- */
.page {
  width: min(100% - 2.5rem, var(--page));
  margin-inline: auto;
}
.etroit { max-width: var(--etroit); margin-inline: auto; }

section { position: relative; }

.bande {
  padding: clamp(4.5rem, 9vw, 9rem) 0;
}
.bande--velours {
  background: linear-gradient(180deg, transparent, rgba(49, 71, 112, 0.82) 12%, rgba(49, 71, 112, 0.82) 88%, transparent);
}
.bande--claire {
  color: #20365f;
  background:
    radial-gradient(80% 100% at 95% 0%, rgba(123, 151, 204, 0.22), transparent 62%),
    radial-gradient(70% 90% at 0% 100%, rgba(223, 185, 94, 0.26), transparent 65%),
    #f3e3cf;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.45), inset 0 -1px rgba(45, 71, 117, 0.18);
}
.bande--claire h1,
.bande--claire h2,
.bande--claire h3,
.bande--claire h4 { color: #20365f; }
.bande--claire .chapeau,
.bande--claire p[style*="color:var(--brume)"] { color: #4f6389 !important; }
.bande--claire .surtitre { color: #34517f; }
.bande--claire .surtitre::before { background: linear-gradient(90deg, transparent, #34517f); }
.bande--claire .or {
  background-image: linear-gradient(100deg, #243d69, #6f8fc5 42%, #2d4775 70%, #526fa4);
}
.bande--claire .ornement { color: #9f772d; }
.bande--claire .compteur { background: rgba(45, 71, 117, 0.22); border-color: rgba(45, 71, 117, 0.22); }
.bande--claire .compteur div { background: rgba(255, 250, 241, 0.7); }
.bande--claire .compteur b { color: #2d4775; }
.bande--claire .compteur span { color: #4a608a; }

/* ---------- 5. Ornement doré (séparateur SVG) ---------- */
.ornement {
  display: block;
  margin: clamp(2.5rem, 5vw, 4rem) auto;
  width: min(340px, 70%);
  height: auto;
  color: var(--or);
  opacity: 0.75;
}
.ornement path, .ornement circle, .ornement line {
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
}

/* Filet doré horizontal, à tracer au scroll */
.filet-or {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or) 18%, var(--or-clair) 50%, var(--or) 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.4s var(--lent);
}
.is-vu .filet-or, .filet-or.is-vu { transform: scaleX(1); }

/* ---------- 6. En-tête / navigation ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(31, 49, 82, 0.68);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(200, 162, 74, 0.14);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.entete.is-dense {
  background: rgba(31, 49, 82, 0.94);
  border-bottom-color: rgba(200, 162, 74, 0.3);
}
.entete__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.marque {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--creme);
  line-height: 1;
  white-space: nowrap;
}
.marque small {
  display: block;
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  margin-top: 0.35rem;
}

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  position: relative;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brume);
  transition: color 0.35s ease;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.28rem;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--lent);
}
.nav a:hover { color: var(--or-clair); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--or-clair); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Sous-menu Spectacles */
.nav__groupe { position: relative; }
.nav__panneau {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  translate: -50% 0;
  min-width: 250px;
  padding: 0.5rem;
  background: rgba(21, 35, 62, 0.97);
  border: var(--filet);
  border-radius: 3px;
  box-shadow: var(--ombre);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.35s var(--lent), visibility 0.3s;
}
.nav__groupe:hover .nav__panneau,
.nav__groupe:focus-within .nav__panneau {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__panneau a {
  display: block;
  padding: 0.5rem 0.8rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.88rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--creme);
}
.nav__panneau a::after { display: none; }
.nav__panneau a:hover { color: var(--or-clair); background: rgba(65, 94, 146, 0.16); }

/* Bouton hamburger */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(200, 162, 74, 0.35);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1px;
  background: var(--or-clair);
  transition: transform 0.4s var(--lent), opacity 0.25s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 7. Rideau d'ouverture ---------- */
.rideau {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
}
.rideau__pan {
  background:
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0.42) 0px, rgba(0,0,0,0) 14px, rgba(0,0,0,0.42) 30px),
    linear-gradient(180deg, var(--braise), #263f6c 60%, #192f56);
  transition: transform 1.5s var(--lent);
}
.rideau__pan--g { transform-origin: left; }
.rideau__pan--d { transform-origin: right; }
.rideau.is-ouvert .rideau__pan--g { transform: translateX(-101%); }
.rideau.is-ouvert .rideau__pan--d { transform: translateX(101%); }
.rideau.is-fini { display: none; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 940px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Une vraie image de scène donne de la profondeur au premier écran, sans le
   poids ni les problèmes de lecture automatique d'une vidéo d'arrière-plan. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: #14264a;
  background-image: var(--hero-image, url("../img/portrait.jpg"));
  background-position: right 30%;
  background-size: auto 104%;
  background-repeat: no-repeat;
  filter: none;
}

/* Poursuite : un halo qui suit la souris */
.hero__poursuite {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 42%),
    rgba(93, 121, 173, 0.26),
    rgba(200, 162, 74, 0.08) 42%,
    transparent 70%);
  transition: background 0.25s ease-out;
}

/* Faisceaux de projecteurs */
.hero__faisceaux {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.5;
}
.hero__faisceaux span {
  position: absolute;
  top: -30%;
  width: 34vw;
  height: 150%;
  background: linear-gradient(180deg, rgba(200, 162, 74, 0.16), transparent 68%);
  filter: blur(28px);
  transform-origin: top center;
  animation: balayage 14s ease-in-out infinite alternate;
}
.hero__faisceaux span:nth-child(1) { left: 6%;  rotate: 11deg;  animation-delay: -2s; }
.hero__faisceaux span:nth-child(2) { left: 38%; rotate: -6deg;  animation-delay: -7s; opacity: 0.7; }
.hero__faisceaux span:nth-child(3) { left: 68%; rotate: -16deg; animation-delay: -11s; }
@keyframes balayage {
  from { transform: rotate(-3deg) scaleY(0.94); opacity: 0.45; }
  to   { transform: rotate(4deg)  scaleY(1.06); opacity: 0.9; }
}

.hero__contenu { padding: clamp(5rem, 12vh, 9rem) 0; position: relative; }

.hero h1 {
  margin: 0;
  line-height: 0.92;
}
.hero h1 .ligne {
  display: block;
  overflow: hidden;
}
.hero h1 .ligne > span {
  display: block;
  transform: translateY(105%);
  animation: monte 1.25s var(--lent) forwards;
}
.hero h1 .ligne:nth-child(1) > span { animation-delay: 0.85s; }
.hero h1 .ligne:nth-child(2) > span { animation-delay: 0.98s; }
@keyframes monte { to { transform: translateY(0); } }

.hero__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brume);
  opacity: 0;
  animation: fondu 1.2s ease 1.5s forwards;
}
.hero__roles li { padding-right: 1rem; margin-right: 1rem; border-right: 1px solid rgba(200, 162, 74, 0.3); }
.hero__roles li:last-child { border-right: 0; }
@keyframes fondu { to { opacity: 1; } }

.hero__pied {
  position: absolute;
  left: 0; right: 0; bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  opacity: 0;
  animation: fondu 1.2s ease 1.9s forwards;
}

.defiler {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brume-2);
}
.defiler::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--or), transparent);
  animation: goutte 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes goutte {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ---------- 9. Bandeau des voix (marquee) ---------- */
.voix {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-block: 1px solid rgba(200, 162, 74, 0.16);
  overflow: hidden;
  background: rgba(55, 79, 123, 0.66);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.voix__piste {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: glisse 46s linear infinite;
}
.voix:hover .voix__piste { animation-play-state: paused; }
.voix__mot {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 162, 74, 0.45);
  white-space: nowrap;
  transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease;
}
.voix__mot:hover {
  color: var(--ocre-vif);
  -webkit-text-stroke-color: transparent;
}
.voix__sep {
  align-self: center;
  width: 7px; height: 7px;
  rotate: 45deg;
  background: var(--or);
  flex: none;
}
@keyframes glisse { to { transform: translateX(-50%); } }

/* ---------- 10. Cartes / affiches ---------- */
.grille {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* Quatre colonnes : deux rangées de quatre cartouches identiques.
   A la largeur du site, un cartouche mesure alors 286 x 400 px, soit très
   exactement les proportions d'une affiche verticale — elle remplit donc son
   cadre sans être rognée. */
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Colonne plus étroite : le nom du spectacle est réduit en conséquence,
   sinon les titres longs partent sur quatre lignes. */
.grille--4 .affiche__figure { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 1.95rem); }
.grille--4 .affiche { padding: 1.7rem 1.5rem 1.5rem; }

.affiche {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 2rem 1.9rem 1.9rem;
  background:
    linear-gradient(180deg, rgba(62, 84, 129, 0.94), rgba(35, 53, 87, 0.97));
  border: 1px solid rgba(200, 162, 74, 0.2);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--lent), border-color 0.5s ease, box-shadow 0.6s var(--lent);
}
.affiche > *:not(.affiche__fond) { position: relative; z-index: 2; }
.affiche__fond {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.9) contrast(1.04);
  transition: opacity 0.6s ease, transform 1.2s var(--lent), filter 0.6s ease;
}
.affiche:hover .affiche__fond,
.affiche:focus-within .affiche__fond {
  opacity: 0.48;
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.02);
}
.affiche::before {
  /* liseré doré intérieur */
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(200, 162, 74, 0.22);
  pointer-events: none;
  z-index: 3;
  transition: inset 0.6s var(--lent), border-color 0.5s ease;
}
.affiche::after {
  /* lueur ocre qui monte au survol */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(65, 94, 146, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.affiche:hover, .affiche:focus-within {
  transform: translateY(-7px);
  border-color: rgba(200, 162, 74, 0.55);
  box-shadow: var(--ombre);
}
.affiche:hover::before, .affiche:focus-within::before { inset: 5px; border-color: rgba(234, 214, 160, 0.4); }
.affiche:hover::after, .affiche:focus-within::after { opacity: 1; }

.affiche__num {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--or);
  opacity: 0.65;
  margin-bottom: auto;
}
.affiche__figure {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem);
  line-height: 1;
  margin: 1.5rem 0 0.4rem;
  color: var(--creme);
}
.affiche__titre {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--or-clair);
  margin: 0 0 0.9rem;
}
.affiche__texte {
  font-size: 0.94rem;
  color: var(--brume);
  margin: 0 0 1.4rem;
}
/* Mot mis en valeur dans le texte d'une carte. Reprend exactement l'aspect
   qui etait auparavant ecrit a la main dans le HTML, pour que « **un mot** »
   saisi depuis le panneau donne le meme rendu dore. */
.affiche__texte strong { color: var(--or-clair); font-weight: 400; }
/* Liens écrits dans le texte d'une carte : dorés, et au-dessus de la zone
   cliquable de la carte pour rester atteignables. */
.affiche__texte a {
  position: relative;
  z-index: 3;
  color: var(--or-clair);
  border-bottom: 1px solid rgba(234, 214, 160, 0.35);
}
.affiche__texte a:hover { border-bottom-color: var(--or-clair); }
.affiche__visuel {
  margin: 1.4rem 0;
  overflow: hidden;
  border: 1px solid rgba(200, 162, 74, 0.22);
  background: var(--nuit);
}
.affiche__visuel img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  transition: transform 1s var(--lent), filter 0.6s ease;
  filter: saturate(0.82) contrast(1.04);
}
.affiche:hover .affiche__visuel img { transform: scale(1.02); filter: none; }
.affiche__lien {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--or);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.affiche__lien::after {
  content: "→";
  transition: transform 0.4s var(--lent);
}
.affiche:hover .affiche__lien::after { transform: translateX(6px); }
.affiche a.couvre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ---------- 11. Boutons ---------- */
.bouton {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--creme);
  border: 1px solid var(--or-sombre);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.bouton span { position: relative; z-index: 1; }
.bouton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ocre-sombre), var(--ocre));
  transform: translateY(101%);
  transition: transform 0.55s var(--lent);
}
.bouton:hover { color: #fff; border-color: var(--or); }
.bouton:hover::before { transform: translateY(0); }
.bouton--or {
  border-color: var(--or);
  color: var(--or-clair);
}
.bouton--or::before { background: linear-gradient(100deg, var(--or-sombre), var(--or)); }
.bouton--or:hover { color: var(--nuit); }

.boutons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 12. En-tête de page intérieure ---------- */
.chapiteau {
  position: relative;
  padding: clamp(5rem, 13vh, 9rem) 0 clamp(3rem, 6vh, 5rem);
  overflow: hidden;
  background-color: #14264a;
}
.chapiteau::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 120% at 20% 0%, rgba(123, 151, 204, 0.4), transparent 62%),
    linear-gradient(115deg, rgba(223, 185, 94, 0.08), transparent 54%);
  pointer-events: none;
}
/* Nom géant en filigrane derrière le titre */
.chapiteau__filigrane {
  position: absolute;
  right: -2%;
  bottom: -0.22em;
  font-family: var(--serif);
  font-size: clamp(7rem, 22vw, 20rem);
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 162, 74, 0.11);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.chapiteau__contenu { position: relative; }
.chapiteau h1 { margin-bottom: 0.3em; }
.chapiteau--photo .chapiteau__contenu {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 0 4rem;
}
.chapiteau--photo .chapiteau__contenu > :not(.chapiteau__photo) { grid-column: 1; }
.chapiteau__photo {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  width: min(100%, 420px);
  height: auto;
  justify-self: end;
  align-self: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 221, 161, 0.42);
  background: linear-gradient(145deg, var(--velours-2), var(--nuit));
  box-shadow: 0 28px 70px -32px rgba(0, 0, 0, 0.9);
  isolation: isolate;
}
.chapiteau__photo::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 2;
  border: 1px solid rgba(245, 221, 161, 0.3);
  pointer-events: none;
}
.chapiteau__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 1.2s var(--lent), filter 0.7s ease;
}
.chapiteau__photo--affiche img { object-fit: contain; }
.chapiteau__photo--portrait img { object-position: center 30%; }
.chapiteau__photo--contact img { object-position: 58% 42%; }
.chapiteau__photo:hover img { transform: scale(1.025); filter: saturate(1.08); }
.chapiteau__photo figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: 2.8rem 1.2rem 0.9rem;
  color: #fff8eb;
  background: linear-gradient(transparent, rgba(45, 65, 104, 0.9));
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- 13. Fiche spectacle ---------- */
.fiche {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.fiche > aside {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
  align-content: start;
}
.fiche > aside > .cadre { margin-top: 0 !important; }

.prose > p:first-of-type { color: var(--creme); }
.prose h3,
.prose__titre {
  margin-top: 2.6rem;
  color: var(--or-clair);
  /* Passé de h3 à h2 pour la hiérarchie des titres : la taille reste celle
     d'un sous-titre de section, seule la balise change. */
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
}
/* Mot mis en valeur dans un texte de presentation. Reprend exactement l'aspect
   qui etait auparavant ecrit a la main dans le HTML, pour que « **un mot** »
   saisi depuis le panneau donne le meme rendu dore. */
.prose strong { color: var(--or-clair); font-weight: 400; }
.prose blockquote {
  margin: 2.5rem 0;
  padding: 0 0 0 1.8rem;
  border-left: 2px solid var(--ocre);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  line-height: 1.5;
  color: var(--or-clair);
}
.prose blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brume-2);
}

/* Encadré latéral : distribution, infos pratiques */
.encart {
  position: relative;
  padding: 1.8rem;
  background: rgba(55, 79, 123, 0.76);
  border: 1px solid rgba(200, 162, 74, 0.24);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 16px 42px -34px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.5s var(--lent),
    background-color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.5s var(--lent);
}
.encart::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ocre-vif), var(--or-clair), transparent 84%);
  opacity: 0.55;
  transform: scaleX(0.36);
  transform-origin: left;
  transition: transform 0.55s var(--lent), opacity 0.45s ease;
}
.encart::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  aspect-ratio: 1;
  right: -80px;
  bottom: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 151, 204, 0.3), transparent 68%);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.5s ease, transform 0.65s var(--lent);
}
.encart h3,
.encart__titre {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or);
  margin: 0 0 1.2rem;
}
.encart + .encart { margin-top: 0; }

@media (hover: hover) {
  .encart:hover,
  .encart:focus-within {
    transform: translateY(-5px);
    background: rgba(61, 88, 139, 0.92);
    border-color: rgba(245, 221, 161, 0.58);
    box-shadow: 0 24px 52px -30px rgba(0, 0, 0, 0.82);
  }
  .encart:hover::before,
  .encart:focus-within::before { transform: scaleX(1); opacity: 1; }
  .encart:hover::after,
  .encart:focus-within::after { opacity: 1; transform: scale(1); }
  .encart:hover h4,
  .encart:focus-within h4 { color: var(--or-clair); }
}

.distribution { margin: 0; }
.distribution dt {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--creme);
  margin-top: 0.9rem;
}
.distribution dt:first-child { margin-top: 0; }
.distribution dd {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brume-2);
}

.infos { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.infos li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(200, 162, 74, 0.18);
}
.infos li:last-child { border-bottom: 0; }
.infos span:first-child { color: var(--brume-2); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.infos span:last-child { color: var(--creme); text-align: right; }

/* ---------- 14. Emplacement photo ---------- */
.cadre {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 162, 74, 0.25);
  background: linear-gradient(140deg, var(--velours-2), var(--nuit));
}
.cadre::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(200, 162, 74, 0.18);
  pointer-events: none;
  z-index: 2;
}
.cadre img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: grayscale(0.25) contrast(1.08) brightness(0.92);
  transition: filter 0.7s ease, transform 1.2s var(--lent);
}
.cadre--affiche img {
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--nuit);
}
.cadre--paysage img { aspect-ratio: auto; object-fit: contain; }
.cadre:hover img { filter: none; transform: scale(1.03); }
/* Si l'image manque, le cadre reste beau et l'alt s'affiche joliment */
.cadre img { color: var(--brume-2); font-size: 0.8rem; font-style: italic; }
.cadre figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brume-2);
  border-top: 1px solid rgba(200, 162, 74, 0.18);
}

.reserve-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 2rem;
  text-align: center;
  color: var(--brume-2);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(45deg, rgba(200, 162, 74, 0.045) 0 12px, transparent 12px 24px);
}

/* ---------- Galerie vivante de l'accueil et d'Arnaga ---------- */
.photos-scene {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(160px, 20vw, 260px);
  gap: clamp(0.7rem, 1.7vw, 1.2rem);
}
.photo-scene {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(245, 221, 161, 0.3);
  background: var(--velours-2);
  box-shadow: 0 22px 55px -38px rgba(0, 0, 0, 0.9);
}
.photo-scene:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.photo-scene:nth-child(2) { grid-column: span 5; }
.photo-scene:nth-child(3) { grid-column: span 5; }
.photo-scene:nth-child(4) { grid-column: span 5; }
.photo-scene:nth-child(5) { grid-column: span 7; }
.photo-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--lent), filter 0.7s ease;
}
.photo-scene:hover img { transform: scale(1.035); filter: saturate(1.12); }
.photo-scene figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 0.8rem;
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff8eb;
  background: linear-gradient(transparent, rgba(45, 65, 104, 0.88));
}
.galerie-arnaga {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.galerie-arnaga .photo-scene { min-height: clamp(240px, 36vw, 470px); }

/* ---------- 15. Agenda / timeline ---------- */
.agenda { list-style: none; margin: 0; padding: 0; }
.date {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0.6rem;
  border-top: 1px solid rgba(200, 162, 74, 0.16);
  transition: background 0.4s ease, padding-left 0.5s var(--lent);
}
.date:last-child { border-bottom: 1px solid rgba(200, 162, 74, 0.16); }
.date:hover { background: rgba(65, 94, 146, 0.11); padding-left: 1.4rem; }
.date__jour {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--or-clair);
  line-height: 1.1;
}
.date__jour small {
  display: block;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brume-2);
  margin-top: 0.25rem;
}
.date__titre {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--creme);
  margin: 0 0 0.2rem;
}
.date__lieu { font-size: 0.85rem; color: var(--brume); margin: 0; }
.date__heure {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--or);
  white-space: nowrap;
}

.annee {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--or-sombre);
  margin: 3.5rem 0 1rem;
}

.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filtre {
  padding: 0.5rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brume);
  background: transparent;
  border: 1px solid rgba(200, 162, 74, 0.25);
  cursor: pointer;
  transition: all 0.35s ease;
}
.filtre:hover { color: var(--or-clair); border-color: var(--or); }
.filtre[aria-pressed="true"] {
  background: var(--ocre-sombre);
  border-color: var(--ocre);
  color: var(--creme);
}

/* ---------- 16. Blocs divers ---------- */
.encadre-or {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid rgba(200, 162, 74, 0.3);
  background: rgba(55, 79, 123, 0.62);
}
.encadre-or::before, .encadre-or::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--or);
}
.encadre-or::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.encadre-or::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.a-venir {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.6rem 1.8rem;
  border-left: 3px solid var(--or);
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.09), transparent);
  color: var(--brume);
  font-size: 0.95rem;
}
.a-venir strong { color: var(--or-clair); font-weight: 500; }

.compteur {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(200, 162, 74, 0.2);
  border: 1px solid rgba(200, 162, 74, 0.2);
}
.compteur div {
  padding: 1.8rem 1.2rem;
  background: var(--nuit);
  text-align: center;
}
.compteur b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  color: var(--or-clair);
}
.compteur span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brume-2);
}

/* Liste de répertoire (chansons, pièces) */
.repertoire { columns: 2; column-gap: 3rem; list-style: none; margin: 0; padding: 0; }
.repertoire li {
  break-inside: avoid;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(200, 162, 74, 0.16);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--brume);
  transition: color 0.3s ease, padding-left 0.4s var(--lent);
}
.repertoire li:hover { color: var(--or-clair); padding-left: 0.6rem; }

/* Parcours (biographie) */
.parcours { list-style: none; margin: 0; padding: 0 0 0 1.8rem; border-left: 1px solid rgba(200, 162, 74, 0.22); }
.parcours li { position: relative; padding: 0 0 2rem; }
.parcours li::before {
  content: "";
  position: absolute;
  left: calc(-1.8rem - 4px);
  top: 0.55rem;
  width: 7px; height: 7px;
  rotate: 45deg;
  background: var(--ocre-vif);
  transition: background 0.4s ease, scale 0.4s var(--lent);
}
.parcours li:hover::before { background: var(--or-clair); scale: 1.5; }
.parcours b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--creme); }
.parcours em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); }
.parcours span { display: block; font-size: 0.92rem; color: var(--brume-2); margin-top: 0.2rem; }

/* ---------- 17. Contact ---------- */
.contact-carte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(200, 162, 74, 0.22);
  border: 1px solid rgba(200, 162, 74, 0.22);
}
.contact-carte > * {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: rgba(41, 62, 101, 0.94);
  transition: background 0.5s ease;
}
.contact-carte > *:hover { background: rgba(55, 79, 123, 0.98); }
.contact-carte h3,
.contact__titre {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1rem;
}
.contact-carte a {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  color: var(--creme);
  border-bottom: 1px solid transparent;
  transition: color 0.35s ease, border-color 0.35s ease;
  word-break: break-word;
}
.contact-carte a:hover { color: var(--or-clair); border-bottom-color: var(--or); }

/* ---------- 18. Pied de page ---------- */
.pied {
  padding: clamp(4rem, 8vw, 6.5rem) 0 2.5rem;
  border-top: 1px solid rgba(200, 162, 74, 0.2);
  background: linear-gradient(180deg, rgba(49, 71, 112, 0.22), rgba(35, 53, 87, 0.96));
}
.pied__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.pied h3 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.1rem;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 0.5rem; }
.pied a { color: var(--brume); font-size: 0.92rem; transition: color 0.3s ease; }
.pied a:hover { color: var(--or-clair); }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(200, 162, 74, 0.14);
  font-size: 0.76rem;
  color: var(--brume-2);
}

/* ---------- 19. Apparitions au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--lent), transform 1.1s var(--lent);
}
.reveal.is-vu { opacity: 1; transform: none; }
.reveal[data-retard="1"] { transition-delay: 0.1s; }
.reveal[data-retard="2"] { transition-delay: 0.2s; }
.reveal[data-retard="3"] { transition-delay: 0.3s; }
.reveal[data-retard="4"] { transition-delay: 0.4s; }
.reveal[data-retard="5"] { transition-delay: 0.5s; }

/* Barre de progression de lecture */
.progression {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--ocre), var(--or-clair));
  box-shadow: 0 0 12px rgba(200, 162, 74, 0.6);
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 980px) {
  .fiche { grid-template-columns: 1fr; }
  .fiche > aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fiche > aside > .cadre { grid-column: 1 / -1; }
  .repertoire { columns: 1; }
}

/* Le menu horizontal complet ne tient qu'au-delà de ~1080px : en dessous, burger. */
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem 1.5rem 2rem;
    background: rgba(15, 26, 48, 0.985);
    border-left: 1px solid rgba(200, 162, 74, 0.25);
    transform: translateX(102%);
    transition: transform 0.6s var(--lent);
    overflow-y: auto;
  }
  .nav.is-ouvert { transform: none; }
  .nav a { padding: 0.85rem 0; font-size: 0.86rem; border-bottom: 1px solid rgba(200, 162, 74, 0.1); }
  .nav a::after { display: none; }
  .nav__panneau {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.5rem 1rem;
    min-width: 0;
  }
  .nav__panneau a { font-size: 0.95rem; border-bottom: 0; padding: 0.5rem 0; }
  .hero__pied { position: static; margin-top: 3rem; }
  .date { grid-template-columns: 92px 1fr; }
  .date__heure { grid-column: 2; }
}

@media (max-width: 900px) {
  /* Le nom en filigrane empiète sur le texte en étroit : on le retire. */
  .chapiteau__filigrane { display: none; }
  .photos-scene { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .photo-scene:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .photo-scene:nth-child(1) { grid-column: 1 / -1; }
  .chapiteau--photo .chapiteau__contenu {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .chapiteau--photo .chapiteau__contenu > :not(.chapiteau__photo),
  .chapiteau__photo { grid-column: 1; }
  .chapiteau__photo {
    grid-row: auto;
    width: min(100%, 520px);
    height: auto;
    justify-self: center;
    margin-top: 2rem;
  }
}

@media (max-width: 560px) {
  .fiche > aside { grid-template-columns: 1fr; }
  .fiche > aside > .cadre { grid-column: auto; }
  .hero__roles { flex-direction: column; }
  .hero__roles li { border-right: 0; padding-right: 0; margin-right: 0; }
  .marque { font-size: 1.2rem; }
  .contact-carte { grid-template-columns: 1fr; }
  .photos-scene, .galerie-arnaga { grid-template-columns: 1fr; }
  .photo-scene:nth-child(n) { grid-column: 1; min-height: 230px; }
  .hero::after {
    background-position: 46% 24%;
    background-size: auto 115%;
  }
}

/* ---------- 21. Accessibilité / impression ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .ligne > span { transform: none; }
  .rideau { display: none; }
}

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  padding: 1rem 1.5rem;
  background: var(--or);
  color: var(--nuit);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.saut-contenu:focus { left: 1rem; top: 1rem; }

@media print {
  body { background: #fff; color: #000; }
  body::before, body::after, .entete, .pied, .rideau, .hero__faisceaux { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. Titre lu mais non affiché ----------
   Sert à donner un titre de section aux colonnes latérales : la hiérarchie des
   titres reste correcte (h1 → h2 → h3) et les lecteurs d'écran annoncent la
   section, sans que rien ne change visuellement. */
.hors-ecran {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 23. Lisibilité des petits textes sur mobile ----------
   Les surtitres et légendes descendaient à 11,5 px sur un écran de 360 px :
   lisible sur un écran d'ordinateur, pénible sur un téléphone. */
@media (max-width: 560px) {
  .surtitre { font-size: 0.8rem; letter-spacing: 0.3em; }
  .legende  { font-size: 0.84rem; letter-spacing: 0.1em; }
  .pied__bas { font-size: 0.84rem; }
}

/* ---------- Bouton du fond sonore (en-tête, toutes les pages) ---------- */
.son {
  margin-left: auto;              /* colle le bouton à droite, juste avant le menu */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: rgba(223, 185, 94, 0.1);
  border: 1px solid rgba(223, 185, 94, 0.45);
  border-radius: 2px;
  color: var(--or-clair);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.son:hover {
  background: rgba(223, 185, 94, 0.22);
  border-color: var(--or);
  color: var(--creme);
}
.son__note { font-size: 1rem; line-height: 1; position: relative; }

/* Musique coupée : la note est barrée et le bouton s'efface un peu. */
.son[aria-pressed="false"] { opacity: 0.7; }
.son[aria-pressed="false"] .son__note::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px; top: 50%;
  height: 2px;
  background: currentColor;
  transform: rotate(-22deg);
}

/* Sur petit écran, la note seule : le libellé prendrait la place du menu. */
@media (max-width: 560px) {
  .son__texte { display: none; }
  .son { padding: 0.45rem 0.7rem; }
}

/* ---------------------------------------------------------------------------
   FORMULAIRE DE CONTACT
   Meme grammaire que le reste du site : encre creme sur fond nuit, filets or,
   typo sans en petites capitales pour les etiquettes.
   --------------------------------------------------------------------------- */
.formulaire {
  max-width: 44rem;
  margin: 2.5rem auto 0;
  text-align: left;
}
.formulaire__ligne {
  margin: 0 0 1.4rem;
}
.formulaire label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
}
.formulaire input,
.formulaire textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--creme);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--ocre-sombre);
  border-radius: 2px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.formulaire textarea {
  resize: vertical;
  min-height: 9rem;
}
.formulaire input:focus,
.formulaire textarea:focus {
  outline: none;
  border-color: var(--or);
  background: rgba(0, 0, 0, 0.3);
}
/* Le focus doit rester visible au clavier, meme sans souris. */
.formulaire input:focus-visible,
.formulaire textarea:focus-visible {
  outline: 2px solid var(--or-clair);
  outline-offset: 2px;
}
.formulaire input::placeholder,
.formulaire textarea::placeholder { color: var(--brume-2); }

.formulaire__envoi {
  margin: 1.8rem 0 0;
  text-align: center;
}
.formulaire .legende {
  margin-top: 1.2rem;
  text-align: center;
}

@media (max-width: 640px) {
  .formulaire { margin-top: 1.8rem; }
  .formulaire__envoi .bouton { width: 100%; justify-content: center; }
}
