/* spectacles-limoges.com : une salle avant le lever de rideau. Nuit, velours, lumière dorée.
   Généré par scripts/build-spectacles.py ; ce fichier est écrit à la main. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/polices/instrument-serif-normal-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/polices/instrument-serif-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/polices/manrope-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/polices/manrope-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nuit: #100d17;
  --salle: #1a1622;
  --salle-2: #241e2e;
  --velours: #8c1c2c;
  --velours-vif: #b3263a;
  --or: #e9b44c;
  --or-pale: #f4d892;
  --creme: #f5ede0;
  --gris: #b4abbd;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--nuit); color: var(--creme); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* En-tête */
.entete { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; justify-content: space-between;
  align-items: center; padding: 22px clamp(16px, 4vw, 56px); }
.marque { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.marque-nom { font: 400 26px var(--serif); letter-spacing: .01em; }
.marque-par { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.entete nav { display: flex; gap: 26px; }
.entete nav a { text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; opacity: .85; }
.entete nav a:hover { opacity: 1; color: var(--or-pale); }

/* Ouverture */
.hero { position: relative; min-height: 92vh; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  align-items: center; padding: 130px clamp(16px, 4vw, 56px) 90px; overflow: hidden; isolation: isolate; }
.hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: saturate(.85); transform: scale(1.06); animation: respire 18s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 70% 10%, rgba(233,180,76,.18), transparent 55%),
              linear-gradient(180deg, rgba(16,13,23,.62) 0%, rgba(16,13,23,.80) 55%, var(--nuit) 100%); }
@keyframes respire { to { transform: scale(1.0); } }
.surtitre { font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--or); margin-bottom: 18px; }
.hero h1 { font: 400 clamp(54px, 8.4vw, 124px)/.95 var(--serif); letter-spacing: -.01em; margin-bottom: 24px; }
.hero h1 em { color: var(--or); }
.chapo { font-size: clamp(17px, 1.6vw, 20px); max-width: 30em; color: #e3d9e8; margin-bottom: 34px; }
.bouton { display: inline-block; background: var(--velours); color: var(--creme); text-decoration: none; border: 0;
  font: 700 15px var(--sans); letter-spacing: .03em; padding: 16px 30px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(140,28,44,.45), inset 0 0 0 1px rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.bouton:hover { background: var(--velours-vif); transform: translateY(-2px); }

/* Faisceaux de projecteurs qui balaient la salle */
.faisceaux { position: absolute; inset: -20% 0 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.faisceaux i { position: absolute; top: -10%; width: 34vw; height: 120%; transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(244,216,146,.22), rgba(244,216,146,0) 75%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(6px); animation: balaye 9s ease-in-out infinite alternate; }
.faisceaux i:nth-child(1) { left: 6%; animation-duration: 11s; }
.faisceaux i:nth-child(2) { left: 38%; animation-delay: -4s; background: linear-gradient(180deg, rgba(179,38,58,.25), transparent 75%); }
.faisceaux i:nth-child(3) { left: 68%; animation-duration: 13s; animation-delay: -7s; }
@keyframes balaye { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }

/* Titre qui entre mot à mot */
.titre-anime span, .titre-anime em { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg);
  animation: entre .9s cubic-bezier(.2,.7,.2,1) forwards; }
.titre-anime span:nth-child(2) { animation-delay: .12s; }
.titre-anime span:nth-child(3) { animation-delay: .24s; }
.titre-anime span:nth-child(4) { animation-delay: .36s; }
.titre-anime em { animation-delay: .6s; }
.hero .surtitre, .hero .chapo, .hero .bouton { opacity: 0; animation: entre .9s .7s ease forwards; }
.hero .surtitre { animation-delay: 0s; }
.hero .bouton { animation-delay: .9s; }
@keyframes entre { to { opacity: 1; transform: none; } }

/* La scène : les prochaines affiches tournent */
.scene { position: relative; display: grid; max-width: 620px; width: 100%; justify-self: end; padding-bottom: 34px;
  opacity: 0; animation: entre 1s .5s ease forwards; transform: translateY(20px); }
.affiche-scene { grid-area: 1 / 1; position: relative; text-decoration: none; display: block; background: rgba(26,22,34,.78);
  border: 1px solid rgba(233,180,76,.35); border-radius: 18px; padding: 14px 14px 20px; backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(0,0,0,.55); opacity: 0; transform: translateX(40px) rotate(4deg) scale(.94);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.affiche-scene.active { opacity: 1; transform: rotate(1.2deg); pointer-events: auto; z-index: 2; }
.affiche-scene.sort { opacity: 0; transform: translateX(-40px) rotate(-4deg) scale(.94); }
.affiche-scene.active:hover { transform: rotate(0) translateY(-4px); }
.affiche-scene img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.prochain-etiquette { position: absolute; top: -13px; left: 22px; z-index: 3; background: var(--or); color: var(--nuit);
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.prochain-etiquette b { margin-left: 6px; padding-left: 8px; border-left: 1px solid rgba(16,13,23,.3); }
.prochain-titre { display: block; font: 400 30px/1.1 var(--serif); padding: 0 6px; }
.prochain-date { display: block; color: var(--gris); font-size: 14px; padding: 4px 6px 0; }
.points { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.points button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(245,237,224,.3);
  cursor: pointer; transition: width .3s, background .3s; }
.points button.actif { width: 26px; background: var(--or); }

/* Bandeau défilant des dates */
.bandeau { overflow: hidden; background: var(--velours); border-block: 1px solid rgba(233,180,76,.4);
  transform: rotate(-1.2deg); margin: 10px -10px 0; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.bandeau-piste { display: flex; width: max-content; animation: defile 60s linear infinite; }
.bandeau:hover .bandeau-piste { animation-play-state: paused; }
.bandeau span { white-space: nowrap; padding: 14px 0; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #f3dfe2; }
.bandeau span::after { content: "✦"; color: var(--or); margin: 0 28px; }
.bandeau b { font: italic 400 21px var(--serif); text-transform: none; letter-spacing: 0; color: var(--creme); margin-right: 6px; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1000px; margin: 70px auto 0; padding: 0 16px; text-align: center; }
.chiffres div + div { border-left: 1px solid rgba(233,180,76,.2); }
.chiffres b { display: block; font: 400 clamp(48px, 6vw, 76px)/1 var(--serif); color: var(--or-pale); }
.chiffres span { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }

/* Agenda */
.agenda { padding: 40px clamp(16px, 4vw, 56px) 100px; max-width: 1360px; margin: 0 auto; }
.agenda-tete { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px;
  border-bottom: 1px solid rgba(233,180,76,.25); padding-bottom: 22px; margin-bottom: 10px; }
.agenda h2, .confiance h2, .contact h2 { font: 400 clamp(42px, 5vw, 64px)/1 var(--serif); }
.filtres { display: flex; gap: 8px; flex-wrap: wrap; }
.filtres button { font: 600 14px var(--sans); color: var(--creme); background: transparent; cursor: pointer;
  border: 1px solid rgba(245,237,224,.25); border-radius: 999px; padding: 9px 16px; transition: all .2s; }
.filtres button span { color: var(--gris); font-weight: 500; margin-left: 4px; }
.filtres button:hover { border-color: var(--or); }
.filtres button.actif { background: var(--or); color: var(--nuit); border-color: var(--or); box-shadow: 0 0 24px rgba(233,180,76,.35); }
.filtres button.actif span { color: rgba(16,13,23,.6); }

.grille { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }

.carte { background: var(--salle); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.05); transition: transform .3s, box-shadow .3s, border-color .3s; }
.carte:hover { transform: translateY(-5px); border-color: rgba(233,180,76,.4); box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.carte-affiche { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--salle-2); }
.carte-affiche img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.inclinable { transform-style: preserve-3d; will-change: transform; }
.reflet { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255,236,190,.35), transparent 55%); }
.carte:hover .reflet { opacity: 1; }
.pastille { z-index: 2; }
.carte:hover .carte-affiche img { transform: scale(1.05); }
.pastille { position: absolute; top: 12px; left: 12px; background: var(--creme); color: var(--nuit); border-radius: 10px;
  min-width: 58px; padding: 6px 8px 7px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.1; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.pastille i { display: block; font-style: normal; font-weight: 600; font-size: 10px; color: #6b6275; margin-top: 2px; }
.pastille b { display: block; font: 400 26px/1 var(--serif); letter-spacing: 0; color: var(--velours); }
.carte-corps { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.genre { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--or); margin-bottom: 6px; }
.carte h4 { font: 400 29px/1.08 var(--serif); margin-bottom: 10px; }
.carte h4 small { display: block; font-style: italic; font-size: 20px; color: var(--gris); }
.quand { font-weight: 700; font-size: 15px; }
.ou { color: var(--gris); font-size: 14px; margin-bottom: 18px; }
.billet { margin-top: auto; align-self: flex-start; text-decoration: none; font-weight: 700; font-size: 14px;
  color: var(--or-pale); border-bottom: 1px solid rgba(233,180,76,.45); padding-bottom: 2px; transition: color .2s, gap .2s; }
.billet span { display: inline-block; transition: transform .2s; }
.billet:hover { color: var(--or); }
.billet:hover span { transform: translateX(4px); }
.carte[hidden] { display: none; }
.vide { text-align: center; color: var(--gris); padding: 60px 0; font-size: 18px; }

/* Ils nous font confiance */
.confiance { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 110px 16px; }
.confiance-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.confiance::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--nuit), rgba(16,13,23,.4) 40%, rgba(16,13,23,.4) 60%, var(--nuit)); }
.logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 26px 44px; margin-top: 44px; }
.logos img { height: 84px; width: auto; border-radius: 6px; mix-blend-mode: screen; opacity: .9; transition: opacity .2s; }
.logos img.inverse { filter: invert(1); }
.logos img:hover { opacity: 1; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; max-width: 1100px; margin: 0 auto;
  padding: 100px clamp(16px, 4vw, 56px); }
.contact-texte p { color: var(--gris); margin-top: 18px; font-size: 17px; }
.formulaire { display: grid; gap: 16px; }
.formulaire label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.formulaire input, .formulaire textarea { font: 400 16px var(--sans); color: var(--creme); background: var(--salle);
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 13px 15px; text-transform: none; letter-spacing: 0; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--or); }
.formulaire .bouton { justify-self: start; }
.formulaire .piege { position: absolute; left: -9999px; }
.reponse { padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.reponse.ok { background: rgba(80,180,120,.16); color: #9be3b5; }
.reponse.ko { background: rgba(179,38,58,.2); color: #ffb3bd; }

.pied { border-top: 1px solid rgba(255,255,255,.08); padding: 30px 16px 40px; text-align: center; color: var(--gris); font-size: 14px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--or-pale); }
.ic-copyright { margin-top: 8px; font-size: 12px; opacity: .6; }

/* Apparition douce au défilement (sans rien épingler) */
.js .carte { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease, box-shadow .3s, border-color .3s; }
.js .carte.vue { opacity: 1; transform: none; }
.js .carte.vue:hover { transform: perspective(900px) rotateX(var(--ix, 0deg)) rotateY(var(--iy, 0deg)) translateY(-6px); transition: opacity .7s, transform .12s linear, box-shadow .3s, border-color .3s; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 110px; gap: 40px; }
  .scene { justify-self: start; margin-bottom: 30px; }
  .chiffres { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .chiffres div:nth-child(3) { border-left: 0; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .entete nav { gap: 16px; }
  .entete nav a:first-child { display: none; }
  .marque-nom { font-size: 22px; }
  .logos img { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fond, .faisceaux i, .bandeau-piste { animation: none; }
  .titre-anime span, .titre-anime em, .hero .surtitre, .hero .chapo, .hero .bouton, .scene { animation: none; opacity: 1; transform: none; }
  .js .carte { opacity: 1; transform: none; }
}
