/* Rockin' Tonight : DA du dossier partenaires 2027. Noir de scène, bandeau orange vertical, titres Anton en capitales,
   photos encadrées de blanc et étiquettes jaunes posées de travers. Contenu à 72rem, rail fixe à gauche sur grand écran. */
:root {
  --noir: #141216;
  --noir-2: #1e1b20;
  --noir-3: #2a262c;
  --ligne: #3a343c;
  --encre: #f5efe6;
  --brume: #b9aea9;
  --orange: #f26a21;
  --jaune: #ffc72c;
  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --texte: "Barlow", "Segoe UI", system-ui, sans-serif;
  --max: 72rem;
  --rail: 0px;
  color-scheme: dark;
}
@media (min-width: 1100px) { :root { --rail: 64px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body { margin: 0; background: var(--noir); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); -webkit-font-smoothing: antialiased; padding-left: var(--rail); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--noir); }
img { max-width: 100%; display: block; }
a { color: var(--jaune); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; text-transform: uppercase; text-wrap: balance; margin: 0; letter-spacing: 0.005em; }
p { margin: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* Rail orange vertical, comme sur le dossier */
.rail { display: none; }
@media (min-width: 1100px) {
  .rail { display: flex; position: fixed; z-index: 6; top: 0; bottom: 0; left: 0; width: var(--rail); background: var(--orange); align-items: center; justify-content: center; padding-left: env(safe-area-inset-left, 0px); }
  .rail span { writing-mode: vertical-rl; rotate: 180deg; font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.04em; color: var(--noir); white-space: nowrap; }
  .rail small { font-family: var(--texte); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.12em; margin-left: 8px; }
}

.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.muted { color: var(--brume); }
.tag { display: inline-block; background: var(--jaune); color: var(--noir); font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em; padding: 4px 12px 3px; rotate: -2deg; box-shadow: 3px 3px 0 var(--orange); }
.tag.petit { font-family: var(--texte); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.1em; box-shadow: none; }

.apercu { background: var(--jaune); color: var(--noir); font-size: 0.875rem; font-weight: 700; }
.apercu .wrap { padding-block: 8px; }

/* En-tête */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--noir) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 3px solid var(--orange); }
.top .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.marque { display: flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 760px) { .marque { font-size: 1.35rem; } }
.marque img { width: 40px; height: 40px; }
.nav { display: flex; gap: 4px 20px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--jaune); }
.nav .hide-s { display: none; }
@media (min-width: 760px) { .nav .hide-s { display: inline; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.03em; text-decoration: none; border: 3px solid transparent; cursor: pointer; transition: translate .15s, box-shadow .15s; }
.btn-billet { background: var(--orange); color: var(--noir); box-shadow: 4px 4px 0 var(--jaune); }
.btn-billet:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--jaune); }
.btn-ligne { border-color: var(--encre); color: var(--encre); }
.btn-ligne:hover { border-color: var(--jaune); color: var(--jaune); }
.top .btn-s { min-height: 38px; padding: 0 16px; font-size: 1rem; color: var(--noir); letter-spacing: 0.03em; box-shadow: 3px 3px 0 var(--jaune); }

/* Héros : la foule, le badge, les dates */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 6px solid var(--jaune); }
.hero-fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,18,22,.96) 0 38%, rgba(20,18,22,.72) 62%, rgba(20,18,22,.45)); }
.hero .wrap { padding-block: 48px 56px; display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.2fr 1fr; padding-block: 64px 72px; } }
.hero-texte { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.badge { width: clamp(88px, 14vw, 128px); height: auto; }
.titre { font-size: clamp(3.6rem, 12vw, 7.5rem); line-height: 0.92; }
.titre span { display: block; color: var(--orange); -webkit-text-stroke: 0; }
.dates { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 4.5vw, 2.4rem); color: var(--orange); line-height: 1; }
.lieu { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.note-places { color: var(--brume); font-size: 0.9375rem; }
.hero-photos { display: none; margin: 0; justify-self: center; width: min(100%, 25rem); position: relative; }
.hero-photos img { width: 100%; border: 8px solid var(--encre); rotate: 2.5deg; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.hero-photos .tag { position: absolute; left: -18px; bottom: 54px; font-size: 1.6rem; }
.hero-photos figcaption { margin-top: 14px; font-size: 0.8125rem; color: var(--brume); text-align: right; }
@media (min-width: 960px) { .hero-photos { display: block; } .affiche-mobile { display: none; } }
.affiche-mobile { display: grid; gap: 6px; }
.affiche-mobile strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2.4rem; line-height: 1; color: var(--encre); }

/* Sections */
.section { padding-block: 72px; }
.section + .section { border-top: 1px solid var(--ligne); }
.section.claire { background: var(--noir-2); }
.section-tete { display: grid; gap: 10px; margin-bottom: 36px; max-width: 48rem; }
.section-tete h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.section-tete p { color: var(--brume); }

/* Programme */
.soirees { display: grid; gap: 28px; }
@media (min-width: 900px) { .soirees { grid-template-columns: 1fr 1fr; } }
.soiree { display: grid; gap: 22px; align-content: start; }
.soiree-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 3px solid var(--orange); padding-bottom: 10px; }
.soiree-tete h3 { font-size: 2.2rem; color: var(--jaune); }
.soiree-tete span { color: var(--brume); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; }
.setlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.passage { display: grid; gap: 8px; background: var(--noir-2); padding: 0 0 18px; }
.passage .photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; }
.passage h4, .passage p, .passage .credit { padding-inline: 18px; }
.passage h4 { font-size: 1.9rem; margin-top: 6px; }
.passage p { color: var(--brume); font-size: 0.9688rem; }
.passage.tete { background: var(--orange); color: var(--noir); }
.passage.tete h4 { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.passage.tete p, .passage.tete .credit { color: var(--noir); }
.passage.tete .tag { justify-self: start; margin: -18px 0 0 14px; position: relative; }
.extra { color: var(--brume); font-size: 0.9375rem; }

/* Tarifs : billets */
.billets { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.billet { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; background: var(--noir-3); border-left: 6px solid var(--orange); padding: 18px 22px; }
.billet::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--noir-2); top: 50%; right: -11px; translate: 0 -50%; }
.billet .quoi { display: grid; gap: 2px; }
.billet .quoi strong { font-size: 1.0625rem; }
.billet .quoi span { font-size: 0.875rem; color: var(--brume); }
.billet .prix { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--jaune); border-left: 2px dashed var(--ligne); padding-left: 18px; margin-right: 8px; font-variant-numeric: tabular-nums; }
.billet.vedette { background: var(--jaune); border-left-color: var(--orange); color: var(--noir); }
.billet.vedette .quoi span { color: #5a4300; }
.billet.vedette .prix { color: var(--noir); border-left-color: #b58a00; }
.tarifs-pied { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 32px; }
.tarifs-pied p { color: var(--brume); font-size: 0.9375rem; max-width: 40rem; }

/* Infos pratiques */
.infos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.info { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--orange); }
.info h3 { font-size: 1.6rem; }
.info p { color: var(--brume); }

/* Chiffres, comme la page « Six éditions » du dossier */
.chiffres { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.chiffre { border-top: 3px solid var(--orange); padding-top: 14px; }
.chiffre strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 3.8rem); color: var(--jaune); line-height: 1; font-variant-numeric: tabular-nums; }
.chiffre span { color: var(--brume); font-size: 0.9375rem; }

/* Galeries : photos encadrées */
.galerie { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
@media (min-width: 700px) { .galerie { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); } }
.galerie.quatre { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .galerie.quatre { grid-template-columns: repeat(4, 1fr); } }
.galerie figure { margin: 0; position: relative; background: var(--encre); padding: 6px 6px 0; }
.galerie figure:nth-child(odd) { rotate: -1deg; }
.galerie figure:nth-child(even) { rotate: 1deg; }
.galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.galerie figcaption { padding: 6px 2px 8px; font-size: 0.75rem; font-weight: 700; color: var(--noir); text-transform: uppercase; letter-spacing: 0.06em; }

/* Partenaires : tableau des paliers */
.paliers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.palier { background: var(--noir-3); border-top: 4px solid var(--orange); padding: 20px; display: grid; gap: 8px; align-content: start; }
.palier:last-child { background: var(--orange); color: var(--noir); border-top-color: var(--jaune); }
.palier:last-child ul, .palier:last-child .montant { color: var(--noir); }
.palier .montant { font-family: var(--display); font-size: 2.4rem; color: var(--jaune); line-height: 1; font-variant-numeric: tabular-nums; }
.palier h3 { font-size: 1.4rem; }
.palier ul { margin: 0; padding-left: 1.1em; color: var(--brume); font-size: 0.9375rem; display: grid; gap: 4px; }
.noms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.noms li { background: var(--noir-3); padding: 6px 14px; font-size: 0.9375rem; font-weight: 700; }
.bloc { display: grid; gap: 20px; }
.bloc + .bloc { margin-top: 44px; }
.bloc h3 { font-size: 1.8rem; }

/* Presse */
.presse { display: grid; gap: 24px; }
@media (min-width: 800px) { .presse { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.contacts { display: grid; gap: 16px; }
.contact { background: var(--noir-3); border-left: 6px solid var(--orange); padding: 18px 22px; display: grid; gap: 2px; }
.contact small { color: var(--orange); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; }
.contact strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; }
.contact span { color: var(--brume); user-select: all; }
.liste { align-content: start; margin: 0; padding-left: 1.1em; display: grid; gap: 10px; color: var(--brume); }
.liste strong { color: var(--encre); }

/* Pied */
.pied { background: var(--noir-2); border-top: 6px solid var(--orange); }
.pied .wrap { padding-block: 44px; display: grid; gap: 24px; }
@media (min-width: 800px) { .pied .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pied p, .pied li { color: var(--brume); font-size: 0.9375rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pied a { color: var(--encre); }
.pied .bas { grid-column: 1 / -1; border-top: 1px solid var(--ligne); padding-top: 16px; font-size: 0.8125rem; color: var(--brume); }

/* Page éditions */
.page-tete { border-bottom: 6px solid var(--jaune); background: var(--noir-2); }
.page-tete .wrap { padding-block: 52px 36px; display: grid; gap: 12px; justify-items: start; }
.page-tete h1 { font-size: clamp(3rem, 9vw, 5.5rem); }
.page-tete p { color: var(--brume); max-width: 44rem; }
.annee { display: grid; gap: 20px; padding-block: 44px; border-bottom: 1px solid var(--ligne); }
@media (min-width: 900px) { .annee { grid-template-columns: 13rem 1fr; gap: 36px; } }
.annee-tete { display: grid; gap: 6px; align-content: start; justify-items: start; }
@media (min-width: 900px) { .annee-tete { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); } }
.annee-tete .an { font-family: var(--display); font-size: clamp(3.4rem, 9vw, 5rem); color: var(--orange); line-height: 0.9; font-variant-numeric: tabular-nums; }
.annee-tete .num { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; color: var(--jaune); }
.annee-tete .quand { color: var(--brume); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.annee-corps { display: grid; gap: 20px; min-width: 0; }
.annee-corps > p { max-width: 44rem; }
.affiche-prog { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.affiche-prog div { background: var(--noir-3); border-left: 6px solid var(--orange); padding: 14px 16px; }
.affiche-prog small { display: block; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; margin-bottom: 4px; }
.citation { border-left: 4px solid var(--jaune); padding: 4px 0 4px 18px; font-size: 1.125rem; max-width: 40rem; }
.citation cite { display: block; font-style: normal; color: var(--brume); font-size: 0.875rem; margin-top: 6px; }
.annulee .an { color: var(--brume); text-decoration: line-through; text-decoration-thickness: 4px; }
.credit { font-size: 0.8125rem; color: var(--brume); }

/* Mentions */
.prose { max-width: 44rem; display: grid; gap: 14px; padding-block: 40px 72px; }
.prose h2 { font-size: 1.9rem; margin-top: 18px; color: var(--orange); }
.prose p { color: var(--brume); }
.prose strong { color: var(--encre); }
.marque-txt { display: none; }
@media (min-width: 480px) { .marque-txt { display: inline; } }

/* En-tête multi-pages : menu sur une ligne qui défile sur mobile */
.top .wrap { flex-wrap: wrap; row-gap: 6px; }
.top .btn-s { order: 2; margin-left: auto; }
.nav { order: 3; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 20px; padding-bottom: 4px; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); }
@media (min-width: 960px) {
  .top .wrap { flex-wrap: nowrap; }
  .nav { order: 2; width: auto; margin-left: auto; padding-bottom: 0; }
  .top .btn-s { order: 3; margin-left: 8px; }
}
