/* Run for Broco Loot — une affiche de tournée collée dans un frigo. */
@font-face {
  font-family: "Titan One";
  src: url("fonts/TitanOne.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --bg: #0f1711;
  --bg-deep: #0a100c;
  --panel: #17211a;
  --line: #2c3b31;
  --text: #eef3ea;
  --muted: #a9bbad;
  --green: #8bc34a;
  --green-deep: #2f5a1c;
  --gold: #f2c230;
  --red: #ff5252;
  --display: "Titan One", "Arial Rounded MT Bold", sans-serif;
  --body: "Nunito", "Avenir Next", "Trebuchet MS", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--green-deep) var(--bg-deep); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: #1a1403; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: #ffe07a; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
h2 {
  font: 400 clamp(1.9rem, 4.6vw, 3.1rem)/1.05 var(--display);
  color: var(--gold);
  margin: 0 0 1rem;
  text-wrap: balance;
  letter-spacing: .01em;
}
p { margin: 0 0 1em; }

/* ------------------------------------------------------------------ la scène */
.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(to bottom, transparent 55%, var(--bg) 100%),
    repeating-linear-gradient(0deg, transparent 0 63px, rgba(139, 195, 74, .07) 63px 64px),
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(139, 195, 74, .07) 63px 64px),
    radial-gradient(ellipse 70% 60% at 50% 0%, #1e3524 0%, var(--bg-deep) 75%);
}
.beam {
  position: absolute;
  top: -20%;
  width: 46vw;
  height: 140%;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(242, 194, 48, .2), rgba(242, 194, 48, 0) 78%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(6px);
  transform-origin: 50% 0;
}
.beam-l { left: -6vw; transform: rotate(-17deg); }
.beam-r { right: -6vw; transform: rotate(17deg); background: linear-gradient(to bottom, rgba(139, 195, 74, .22), rgba(139, 195, 74, 0) 78%); }
.stage-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 40rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.5rem, 2vw, 2rem);
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.logo {
  justify-self: end;
  width: min(100%, 15rem);
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0 60%, rgba(255, 255, 255, .07) 61% 69%, transparent 70%);
  border-radius: 50%;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55));
}
.pack {
  justify-self: start;
  width: min(100%, 11rem);
  transform: rotate(9deg);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .6));
  transition: transform .5s var(--ease);
}
.pack:hover { transform: rotate(3deg) scale(1.04); }
h1 { margin: 0; font-weight: 400; font-family: var(--display); line-height: .9; }
h1 .run {
  display: inline-block;
  color: var(--gold);
  font-size: clamp(1.5rem, 4.6vw, 2.9rem);
  transform: rotate(-5deg) translateX(-18%);
  text-shadow: 0 3px 0 #6b5206, 0 8px 14px rgba(0, 0, 0, .5);
  letter-spacing: .03em;
}
h1 .loot {
  display: block;
  color: var(--green);
  font-size: clamp(2.9rem, 10.5vw, 6rem);
  white-space: nowrap;
  letter-spacing: .005em;
  text-shadow:
    0 2px 0 #5c8a2c, 0 4px 0 #4a7324, 0 6px 0 #3a5c1c, 0 8px 0 #2b4615,
    0 18px 30px rgba(0, 0, 0, .65);
}
.tagline { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; margin: 1.6rem 0 1.7rem; text-wrap: balance; }
.btn {
  display: inline-block;
  padding: .95rem 2rem 1rem;
  border-radius: 16px;
  background: linear-gradient(to bottom, #a4d960, var(--green) 55%, #74ab36);
  color: #0f1f0a;
  font: 400 1.35rem/1 var(--display);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 22px -8px rgba(0, 0, 0, .7), 0 4px 8px rgba(0, 0, 0, .4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn:hover { color: #0f1f0a; transform: translateY(-2px); filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 18px 28px -10px rgba(0, 0, 0, .75), 0 6px 12px rgba(0, 0, 0, .4); }
.btn:active { transform: translateY(1px); }
.version { color: var(--muted); margin: 1.1rem 0 .35rem; font-size: .98rem; font-variant-numeric: tabular-nums; }
.others { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.2rem; font-size: .98rem; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .beam-l { animation: sweep-l 1.6s var(--ease) both; }
  .beam-r { animation: sweep-r 1.6s var(--ease) .12s both; }
  h1 .loot { animation: slam .9s var(--ease) both; }
  h1 .run { animation: sticker .7s var(--ease) .45s both; }
  @keyframes sweep-l { from { transform: rotate(-58deg); } }
  @keyframes sweep-r { from { transform: rotate(58deg); } }
  @keyframes slam { from { transform: translateY(-.3em) scale(1.1); } }
  @keyframes sticker { from { transform: rotate(-20deg) translateX(-18%) scale(1.4); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ------------------------------------------------------------------ contenu */
main { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
section { margin: clamp(4rem, 9vw, 7rem) 0; }
.shots { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1.2rem; }
figure { margin: 0; }
figure video { display: block; width: 100%; height: auto; background: var(--bg-deep); }
figure img { border-radius: 10px; border: 2px solid var(--line); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .8); background: var(--bg-deep); }
figcaption { padding: .7rem .2rem 0; color: var(--muted); font-size: .98rem; }
.lead { grid-column: 1 / -1; }
.lead img, .lead video { border: 3px solid var(--gold); border-radius: 14px; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .9), 0 0 0 8px rgba(242, 194, 48, .07); }
.lead figcaption { font-size: 1.1rem; color: var(--text); font-weight: 700; text-align: center; padding-top: 1rem; }
.shots figure:not(.lead) { transition: transform .5s var(--ease); }
.shots figure:nth-child(2) { transform: rotate(-1.4deg); }
.shots figure:nth-child(3) { transform: rotate(.9deg) translateY(.6rem); }
.shots figure:nth-child(4) { transform: rotate(-.7deg); }
.shots figure:not(.lead):hover { transform: rotate(0) scale(1.03); }

.lede { max-width: 62ch; color: var(--muted); font-size: 1.15rem; }

/* Nouveautés : une version par bloc, datée comme un billet. */
.news article { display: grid; grid-template-columns: 13rem minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; column-gap: 2rem; padding: 1.5rem 0; border-top: 2px dashed var(--line); }
.news article:last-child { border-bottom: 2px dashed var(--line); }
.news h3 { margin: 0; font: 400 1.6rem/1.1 var(--display); color: var(--green); }
.news time { grid-column: 1; margin-top: .35rem; color: var(--muted); font-size: .98rem; font-variant-numeric: tabular-nums; }
.news ul { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; list-style: none; }
.news li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; max-width: 68ch; }
.news li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }
.news article:first-of-type h3 { color: var(--gold); }
.news-shots { grid-column: 2; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-top: 1.2rem; }
.news-shots figcaption { font-size: .9rem; }

/* La tournée : les étages comme des dates de concert. */
.tour ol { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 2px dashed var(--line); }
.tour li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "when where who" "when what who";
  column-gap: 1.5rem;
  align-items: center;
  padding: 1.35rem .25rem;
  border-bottom: 2px dashed var(--line);
}
.when { grid-area: when; font: 400 1.05rem/1 var(--display); color: var(--gold); letter-spacing: .04em; text-transform: uppercase; }
.where { grid-area: where; font: 400 clamp(1.5rem, 3.6vw, 2.4rem)/1.05 var(--display); color: var(--green); }
.what { grid-area: what; color: var(--muted); margin-top: .3rem; }
.who { grid-area: who; text-align: right; font-weight: 800; }
.who i { font-style: normal; font-weight: 500; color: var(--muted); padding: 0 .15em; }
.encore .when, .encore .where { color: var(--red); }

/* Le sac : une liste éditoriale, pas des cartes. */
.rider dl { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 5rem); }
.rider dl > div { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.rider dt { font: 400 1.3rem/1.2 var(--display); color: var(--green); margin-bottom: .35rem; }
.rider dd { margin: 0; color: var(--muted); max-width: 44ch; }

.twitch { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.twitch-text p { max-width: 56ch; }
.chat {
  background: var(--bg-deep);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  line-height: 1.9;
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, .85);
  transform: rotate(1.2deg);
}
.chat p { margin: 0; color: var(--text); }
.chat b { font-weight: 800; margin-right: .45em; }
.chat b::after { content: " :"; color: var(--muted); font-weight: 500; }
.u1 { color: var(--green); } .u2 { color: #ff9ecb; } .u3 { color: var(--red); } .u4 { color: var(--gold); } .u5 { color: #7fd3f0; }

table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
thead th { text-align: left; font: 400 1rem/1 var(--display); color: var(--gold); letter-spacing: .04em; text-transform: uppercase; padding: 0 1rem .8rem 0; border-bottom: 2px solid var(--line); }
tbody th, td { text-align: left; padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--line); font-weight: 500; vertical-align: middle; }
tbody th { font-weight: 800; }
kbd {
  display: inline-block;
  min-width: 2.1em;
  padding: .12em .5em .2em;
  margin-right: .25em;
  text-align: center;
  font: 800 .92rem/1.5 var(--body);
  color: var(--text);
  background: linear-gradient(to bottom, #2a372d, #1b251e);
  border: 1px solid #3d5043;
  border-bottom-width: 3px;
  border-radius: 7px;
}
.note { color: var(--muted); font-size: .98rem; max-width: 70ch; margin-top: 1.4rem; }

footer { border-top: 2px dashed var(--line); margin-top: 5rem; padding: 2.2rem 1.25rem 3.5rem; text-align: center; color: var(--muted); }
footer p { margin: 0 0 .3rem; }

@media (max-width: 56rem) {
  .stage-inner { grid-template-columns: 1fr 1fr; padding-top: 2.5rem; }
  .bill { grid-column: 1 / -1; grid-row: 2; }
  .logo { width: 8.5rem; justify-self: center; }
  .pack { width: 6rem; justify-self: center; }
  h1 .run { transform: rotate(-5deg) translateX(-10%); margin-top: .6rem; }
  .shots { grid-template-columns: 1fr; }
  .shots figure:not(.lead) { transform: none; }
  .news article { grid-template-columns: 1fr; row-gap: .2rem; }
  .news ul { grid-column: 1; grid-row: auto; margin-top: .7rem; }
  .news-shots { grid-column: 1; }
  .tour li { grid-template-columns: 1fr; grid-template-areas: "when" "where" "what" "who"; row-gap: .25rem; }
  .who { text-align: left; margin-top: .5rem; }
  .rider dl, .twitch { grid-template-columns: 1fr; }
  .chat { transform: none; }
  tbody th, td, thead th { padding-right: .6rem; font-size: .95rem; }
}
