/* =====================================================================
   PAGE SPECTACLE
   Toutes les couleurs et polices passent par les variables ci-dessous :
   recale-les sur celles de ton site et le reste suit.
   ===================================================================== */

.spectacle {
  --sp-surface: #1a1a1a;
  --sp-text: #ffffff;
  --sp-muted: rgba(255, 255, 255, .62);
  --sp-line: rgba(255, 255, 255, .14);
  --sp-accent: #cb0c9f;
  --sp-font-titre: inherit;
  --sp-gutter: clamp(1.25rem, 4vw, 4rem);
  background: var(--sp-bg);
  color: var(--sp-text);
}

.spectacle a {
  color: inherit;
}

.spectacle [id] {
  scroll-margin-top: 5rem;
}

/* ancres sous une navbar fixe */

/* ---------- Traits SVG (DrawSVG) ---------- */

.trait {
  display: block;
  line-height: 0;
}

.trait__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.spectacle .cls-1 {
  fill: none;
  stroke: var(--sp-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.trait--titre {
  width: min(100%, 22rem);
  height: 1.25rem;
  margin: .4rem 0 1rem;
}

.sp-section__head .trait {
  width: 7rem;
  height: .9rem;
  margin-top: .4rem;
}

/* ---------- Emplacements image / vidéo ---------- */

.media-slot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, rgba(203,12,159,0.5) 0 1px, transparent 26px 30px), var(--bs-secondary);
}

.media-slot > img, .media-slot > video, .media-slot > iframe {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.media-slot__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sp-muted);
  border: 1px dashed var(--sp-line);
  grid-template: 1fr / 1fr;
}

.media-slot--hero {
  aspect-ratio: 4 / 5;
}

.media-slot--video {
  aspect-ratio: 16 / 9;
}

@media (min-width: 992px) {
  .media-slot--hero {
    aspect-ratio: auto;
    height: 100%;
    min-height: 88vh;
  }
}

/* ---------- En-tête ---------- */

.sp-hero__infos {
  width: 100%;
  padding: 1rem var(--sp-gutter);
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
}

.sp-kicker {
  margin-bottom: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 18px!important;
}

.sp-meta li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
}

.sp-rdv {
  margin: 2rem 0 2.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--sp-accent);
}

.sp-rdv p {
  margin: 0;
}

.sp-rdv__lieu {
  font-weight: 700;
}

.sp-rdv__date {
  color: var(--sp-muted);
}

.sp-titre {
  margin: 0;
  font-family: var(--sp-font-titre);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 800;
  line-height: .95;
}

.sp-compagnie {
  margin: 0;
  color: var(--sp-accent);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}

/* ---------- Boutons wipe ---------- */

.spectacle .wipe-btn {
  --wipe-couleur: var(--sp-text);
  --wipe-texte: var(--sp-bg);
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  padding: .8rem 1.6rem;
  border: 1px solid var(--sp-text);
  border-radius: 0;
  background: transparent;
  color: var(--sp-text);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}

.spectacle .wipe-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--wipe-couleur);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.spectacle .wipe-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}

.spectacle .wipe-btn--plein {
  --wipe-couleur: var(--sp-text);
  --wipe-texte: var(--sp-accent);
  background: var(--sp-accent);
  border-color: var(--sp-accent);
}

.spectacle .wipe-btn--grand {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

.spectacle .wipe-btn:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 3px;
}

/* ---------- Sections ---------- */

.sp-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--sp-line);
}

.sp-section__head {
  margin-bottom: 2.5rem;
}

.sp-section__head h2 {
  margin: 0;
  font-family: var(--sp-font-titre);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
}

/* ---------- Distribution ---------- */

.sp-distribution dt {
  margin-top: .9rem;
  font-size: .8rem;
  font-weight: 400;
  color: var(--sp-muted);
}

.sp-distribution dt:first-child {
  margin-top: 0;
}

.sp-distribution dd {
  margin: 0;
  font-weight: 700;
}

@media (min-width: 992px) {
  .sp-distribution {
    text-align: right;
  }
}

/* ---------- Texte ---------- */

.sp-texte p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.sp-texte p.sp-accroche {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.35;
}

/* ---------- Citation presse ---------- */

.sp-citation {
  margin: 3rem 0 0;
  padding: 2rem 2.25rem;
  background: var(--sp-accent);
}

.sp-citation__guillemet {
  width: 2.5rem;
  height: 1.9rem;
  margin-bottom: 1rem;
  overflow: visible;
}

.sp-citation .cls-1 {
  stroke: var(--sp-text);
}

.sp-citation blockquote {
  margin: 0;
}

.sp-citation blockquote p {
  margin: 0;
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
}

.sp-citation figcaption {
  margin-top: 1rem;
  text-align: right;
  font-weight: 700;
}

/* ---------- Galerie ---------- */

.sp-galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.sp-galerie > :first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
  .sp-galerie {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .sp-galerie > :first-child {
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

.sp-credit {
  margin: .75rem 0 0;
  font-size: .75rem;
  color: var(--sp-muted);
}

/* ---------- Infos pratiques ---------- */

.sp-bloc {
  height: 100%;
  padding: 1.75rem;
}

.sp-bloc h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-accent);
}

.sp-bloc__note {
  margin: 1rem 0 0;
  font-size: .85rem;
  color: var(--sp-muted);
}

.sp-tarifs li {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid var(--sp-line);
}

.sp-lien {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--sp-accent);
}

.sp-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------- Navigation bas de page ---------- */

.sp-nav {
  padding: 2.5rem 0;
  border-top: 1px solid var(--sp-line);
}

