/*
Theme Name: Strobe
Description: Thème sombre pour groupes, artistes et DJ : discographie, concerts avec compte à rebours, vidéos chargées au clic, galerie et actualités. Six styles de couleur, visuels « faisceaux de scène » générés en CSS, polices embarquées (aucune requête externe).
Version: 1.6.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strobe
Tags: entertainment, blog, custom-menu, custom-logo, custom-header, featured-images, translation-ready
*/

/* ---------- Polices (embarquées, licence OFL) ---------- */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(assets/fonts/unbounded-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(assets/fonts/unbounded-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Styles de couleur ---------- */
:root, .style-scene  { --bg:#170d26; --bg-2:#23143b; --ink:#f4eeff; --muted:#a99cc4; --accent:#ff3d81; --accent-2:#ffb224; --on-accent:#170d26; }
.style-minuit        { --bg:#05070f; --bg-2:#0d1425; --ink:#eaf0ff; --muted:#8b97b8; --accent:#3d6bff; --accent-2:#7de3ff; --on-accent:#ffffff; }
.style-braise        { --bg:#0a0606; --bg-2:#190e0e; --ink:#fbeeea; --muted:#b39a94; --accent:#ff2e2e; --accent-2:#ff8a5c; --on-accent:#0a0606; }
.style-mousse        { --bg:#0c1a14; --bg-2:#13281e; --ink:#ecf7ef; --muted:#94b3a2; --accent:#5df2a1; --accent-2:#d6f25d; --on-accent:#0c1a14; }
.style-cuivre        { --bg:#1c120b; --bg-2:#2b1c11; --ink:#fbf1e6; --muted:#bda58d; --accent:#ff7a1a; --accent-2:#ffd166; --on-accent:#1c120b; }
.style-jour          { --bg:#eef0f2; --bg-2:#ffffff; --ink:#0b0c0e; --muted:#5b6068; --accent:#0b0c0e; --accent-2:#ff4d2e; --on-accent:#eef0f2; }

:root {
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --space: clamp(4.5rem, 10vw, 9rem);
}
body { --line: color-mix(in srgb, var(--ink) 16%, transparent); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
.style-jour a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
h1, h2, h3, h4, .site-brand, .site-footer__name, .lost__code { overflow-wrap: normal; word-break: normal; hyphens: none; }
h1 { font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.15; }
p { margin: 0 0 1.2em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100; width: auto; height: auto; clip-path: none; background: var(--accent); color: var(--on-accent); padding: .75rem 1.25rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn, .wp-block-button__link, button[type=submit], input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .95rem/1 var(--body);
  padding: .95em 1.6em; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover, .wp-block-button__link:hover, button[type=submit]:hover, input[type=submit]:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn[aria-disabled=true] { background: transparent; border-color: var(--line); color: var(--muted); cursor: default; text-decoration: line-through; }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-stuck, body:not(.has-hero) .site-header { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.75rem; }
.site-brand { font: 800 1.15rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.site-brand img { max-height: 2.5rem; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5rem 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:hover { color: inherit; }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: .6rem 1.1rem; font: 600 .9rem/1 var(--body); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 0; background: var(--bg); display: none; padding: 7rem var(--gutter) 2rem; overflow: auto; z-index: -1; }
  .nav-open .site-nav { display: block; }
  .nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; font: 700 clamp(1.7rem, 8vw, 2.6rem)/1.1 var(--display); padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
}
.site-main { padding-top: 4.75rem; }
.has-hero .site-main { padding-top: 0; }

/* ---------- Faisceaux (visuel généré) ---------- */
@property --fa { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.flare { --fx: 30%; --fy: 0%; --gx: 80%; --gy: 100%; --fa: 150deg; position: relative; overflow: hidden; background-color: var(--bg-2); isolation: isolate; }
.flare::before { content: ""; position: absolute; inset: -20%; z-index: -1;
  background:
    conic-gradient(from var(--fa) at var(--fx) var(--fy),
      transparent 0deg, color-mix(in srgb, var(--accent) 85%, transparent) 7deg, transparent 15deg,
      transparent 26deg, color-mix(in srgb, var(--accent-2) 70%, transparent) 31deg, transparent 38deg,
      transparent 52deg, color-mix(in srgb, var(--accent) 55%, transparent) 60deg, transparent 72deg, transparent 360deg),
    radial-gradient(circle at var(--gx) var(--gy), color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 46%),
    radial-gradient(circle at var(--fx) var(--fy), color-mix(in srgb, var(--accent) 70%, transparent), transparent 55%);
  filter: blur(18px) saturate(1.15); }
.flare::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.flare > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.style-jour .flare { background-color: #14151a; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 8rem 0 clamp(2rem, 5vw, 4rem); color: var(--ink); }
.style-jour .hero { color: #fff; }
.hero.flare::before { animation: sweep 2.4s cubic-bezier(.2,.7,.1,1) both; }
@keyframes sweep { from { --fa: 60deg; opacity: 0; } to { --fa: 150deg; opacity: 1; } }
.hero__shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, color-mix(in srgb, var(--bg) 92%, transparent) 0, transparent 55%); }
.style-jour .hero__shade { background: linear-gradient(to top, rgba(0,0,0,.7), transparent 60%); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: end; }
.hero__title { font-size: min(clamp(2rem, 13.5vw, 14rem), calc((100vw - 2 * var(--gutter)) / (var(--chars, 6) * .9))); font-weight: 900; line-height: .84; letter-spacing: -.045em; margin: 0; animation: rise 1s .5s cubic-bezier(.2,.7,.1,1) both; }
.hero__tagline { font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 34ch; margin: 1.5rem 0 0; animation: rise 1s .7s cubic-bezier(.2,.7,.1,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
.next-show { width: min(22rem, 100%); background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); padding: 1.5rem; color: var(--ink); animation: rise 1s .9s cubic-bezier(.2,.7,.1,1) both; }
.next-show h2 { font: 500 .95rem/1.3 var(--body); letter-spacing: 0; color: var(--muted); margin: 0 0 .35rem; }
.next-show__where { font: 700 1.35rem/1.15 var(--display); margin: 0 0 .25rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.25rem 0; text-align: center; }
.countdown b { display: block; font: 700 1.7rem/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { font-size: .8rem; color: var(--muted); }
.next-show .btn { width: 100%; }
@media (max-width: 900px) { .hero__in { grid-template-columns: minmax(0, 1fr); } .next-show { width: 100%; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section--alt { background: var(--bg-2); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head h2 { margin: 0; }
.page-head { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3.5rem); }
.page-head h1 { margin: 0; }
.page-head p { margin: 1.25rem 0 0; max-width: 55ch; color: var(--muted); font-size: 1.15rem; }
.empty { border: 1px dashed var(--line); padding: 2rem; color: var(--muted); }

/* ---------- Sortie à la une ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.cover { aspect-ratio: 1; display: block; }
.feature__meta { color: var(--muted); margin: 0 0 1rem; }
.feature h3, .feature .feature__title { font-size: clamp(2rem, 4.5vw, 4rem); font-weight: 800; line-height: 1; margin-bottom: 1.5rem; }
.feature__title a { text-decoration: none; }
.tracklist { list-style: none; counter-reset: t; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.tracklist li { counter-increment: t; display: grid; grid-template-columns: 2.5rem 1fr auto; gap: .5rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.tracklist li::before { content: counter(t, decimal-leading-zero); color: var(--muted); font-variant-numeric: tabular-nums; }
.tracklist time, .tracklist .dur { color: var(--muted); font-variant-numeric: tabular-nums; }
.links { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 28rem), 1fr)); }
.card { text-decoration: none; display: block; }
.card .cover, .card .thumb { margin-bottom: 1rem; transition: transform .35s cubic-bezier(.2,.7,.1,1); }
.card:hover .cover, .card:hover .thumb { transform: translateY(-6px); }
.card h3 { margin: 0 0 .3rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card:hover { color: inherit; }
.card:hover h3 { color: var(--accent); }
.style-jour .card:hover h3 { color: var(--accent-2); }
.thumb { aspect-ratio: 16 / 10; }

/* ---------- Concerts ---------- */
.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.show { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.show__date { display: flex; align-items: baseline; gap: .6rem; }
.show__day { font: 800 2.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.show__month { color: var(--muted); line-height: 1.2; font-size: .95rem; }
.show__city { font: 700 clamp(1.15rem, 2vw, 1.6rem)/1.15 var(--display); margin: 0; }
.show__venue { margin: .2rem 0 0; color: var(--muted); }
.show.is-past { opacity: .55; }
@media (max-width: 640px) { .show { grid-template-columns: 5.5rem 1fr; } .show__cta { grid-column: 1 / -1; } .show__cta .btn { width: 100%; } .show__day { font-size: 2rem; } }

/* ---------- Vidéos ---------- */
.video { aspect-ratio: 16 / 9; display: block; width: 100%; border: 0; padding: 0; color: #fff; cursor: pointer; margin-bottom: 1rem; }
.video[disabled] { cursor: default; }
.video__play { position: absolute; inset: 0; margin: auto; width: 5rem; height: 5rem; border-radius: 50%; background: var(--accent); z-index: 1; display: grid; place-items: center; transition: transform .25s; }
.video__play::before { content: ""; border-left: 1.25rem solid var(--on-accent); border-block: .8rem solid transparent; margin-left: .3rem; }
.video:hover .video__play { transform: scale(1.1); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; border: 0; }

/* ---------- Articles ---------- */
.entry-meta { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.entry-hero { aspect-ratio: 21 / 9; margin-bottom: clamp(2rem, 5vw, 4rem); }
.entry-content { font-size: 1.125rem; line-height: 1.7; }
.entry-content > * { max-width: 46rem; margin-inline: auto; }
.entry-content > .alignwide { max-width: 68rem; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 2em; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content a { color: var(--accent); }
.style-jour .entry-content a { color: var(--accent-2); }
.entry-content blockquote { border-left: 3px solid var(--accent); margin-block: 2em; padding-left: 1.5rem; font: 500 1.5rem/1.3 var(--display); }
.entry-content blockquote cite { display: block; margin-top: 1rem; font: 400 1rem var(--body); color: var(--muted); }
.entry-content figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 3rem; }
.entry-content pre { background: var(--bg-2); padding: 1.25rem; overflow: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: .7rem .5rem; text-align: left; }
.post-nav { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.post-nav a { font: 700 1.1rem/1.2 var(--display); text-decoration: none; max-width: 24ch; }
.post-nav small { display: block; font: 400 .9rem var(--body); color: var(--muted); margin-bottom: .4rem; }
.pagination { margin-top: 3.5rem; }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.pagination .current { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- Galerie ---------- */
.strobe-gallery .wp-block-gallery { max-width: none; display: block; columns: 3 18rem; column-gap: 1rem; }
.strobe-gallery .wp-block-gallery .wp-block-image { margin: 0 0 1rem !important; width: 100% !important; break-inside: avoid; cursor: zoom-in; }
.strobe-gallery .wp-block-gallery img { width: 100%; height: auto !important; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox form { text-align: right; margin-bottom: .5rem; }
.lightbox button { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 999px; padding: .5rem 1rem; cursor: pointer; font: 600 .9rem var(--body); }

/* ---------- Formulaires & commentaires ---------- */
input[type=text], input[type=email], input[type=url], input[type=search], input[type=password], textarea, select {
  width: 100%; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 0; padding: .9rem 1rem; font: inherit; }
input:focus, textarea:focus { border-color: var(--ink); outline: none; }
.search-form { display: flex; gap: .75rem; max-width: 34rem; }
.search-form label { flex: 1; }
.comments { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.comments h2 { font-size: 1.6rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; float: left; margin-right: .75rem; }
.comment-metadata { font-size: .85rem; color: var(--muted); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: .35rem; font-size: .95rem; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 8rem 0 4rem; }
.lost__code { font: 900 clamp(7rem, 30vw, 24rem)/.8 var(--display); letter-spacing: -.06em; margin: 0 0 2rem; }
.style-jour .lost { color: #fff; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 7vw, 6rem) 0 2rem; }
.site-footer__name { font: 900 min(clamp(2rem, 11vw, 11rem), calc((100vw - 2 * var(--gutter)) / (var(--chars, 6) * .9)))/.85 var(--display); letter-spacing: -.045em; margin: 0 0 3rem; }
.site-footer__row { display: flex; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.socials a { color: var(--ink); font-weight: 600; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-widgets h2 { font-size: 1.1rem; }

/* ---------- WordPress ---------- */
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; text-align: center; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: var(--muted); font-size: .9rem; }
.sticky, .bypostauthor { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Style « Jour » : les zones à faisceaux restent sombres, on y ravive les couleurs. */
.style-jour .flare { --accent: #ff4d2e; --accent-2: #ffb38a; --on-accent: #0b0c0e; }
.style-jour.has-hero .site-header:not(.is-stuck) { color: #fff; }
.style-jour.has-hero .site-header:not(.is-stuck) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.4); }
.style-jour .next-show { --accent: #0b0c0e; --on-accent: #eef0f2; }
html.nav-open .style-jour .site-header { color: var(--ink) !important; }
html.nav-open .style-jour .site-header .nav-toggle { color: var(--ink) !important; border-color: var(--line) !important; }

/* Accueil sur grand écran : la largeur du bloc « Prochain concert » est retirée de la place disponible pour le nom. */
@media (min-width: 901px) {
  .hero__in:has(.next-show) .hero__title { font-size: min(clamp(2rem, 13.5vw, 14rem), calc((100vw - 2 * var(--gutter) - 24.5rem) / (var(--chars, 6) * .9))); }
}

/* ---------- Accueil : vidéo d'arrière-plan et nom inversé ---------- */
.flare > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero--blend .hero__in { z-index: auto; }
.hero--blend .hero__title { mix-blend-mode: difference; color: #fff; }
.hero__pause { position: absolute; z-index: 2; top: 6rem; right: var(--gutter); background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .5rem .9rem; font: 500 .8rem/1 var(--body); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__pause:hover { border-color: #fff; }
.admin-bar .hero__pause { top: 8rem; }
.hero__shade::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 10rem; background: linear-gradient(rgba(0,0,0,.55), transparent); }

/* Nom inversé sur une vidéo : dessiné image par image dans un canevas (strobe.js),
   car Safari ne sait pas fusionner du texte avec une vidéo. */
.hero__name { position: relative; }
.hero__canvas { position: absolute; pointer-events: none; animation: rise 1s .5s cubic-bezier(.2,.7,.1,1) both; }
.hero.is-inverted .hero__title { color: transparent; }
.hero__title .w { white-space: nowrap; }
.hero__title .bl { display: inline-block; width: 0; height: 0; }

/* ---------- Concerts : fiche détaillée ---------- */
.show--full { align-items: start; grid-template-columns: 7.5rem minmax(0, 1fr) minmax(9rem, 14rem); padding: 2rem 0; }
.show__time { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }
.show__facts { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .3rem; font-size: .98rem; }
.show__facts b { font-weight: 600; }
.show__summary { margin: .9rem 0 0; max-width: 60ch; }
.show__more { margin: .7rem 0 0; font-size: .95rem; }
.show--full .show__cta { display: grid; gap: .6rem; justify-items: stretch; text-align: center; }
.show__booking { margin: 0; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.show__booking a { color: var(--ink); }
@media (max-width: 760px) {
  .show--full { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .show--full .show__cta { grid-column: 1 / -1; }
  .show--full .show__cta .btn { width: 100%; }
}

/* ---------- Accueil : image ou vidéo de fond par section ---------- */
.section--bg { --sbg: var(--bg); position: relative; overflow: hidden; isolation: isolate; }
.section--bg.section--alt { --sbg: var(--bg-2); }
.section__bg { position: absolute; inset: 0; z-index: -1; }
.section__bg img, .section__bg video { width: 100%; height: 100%; object-fit: cover; }
.section__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--sbg) 0, color-mix(in srgb, var(--sbg) 70%, transparent) 22%, color-mix(in srgb, var(--sbg) 70%, transparent) 78%, var(--sbg) 100%); }
.bg-pause { position: absolute; z-index: 2; bottom: 1.25rem; right: var(--gutter); background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .5rem .9rem; font: 500 .8rem/1 var(--body); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bg-pause:hover { border-color: #fff; }

/* ---------- Texte blanc ou titre inversé sur un fond de section ---------- */
.section--white { --ink: #fff; --muted: rgba(255,255,255,.74); --line: rgba(255,255,255,.24); color: #fff; }
.section--white .section__bg::after { background: rgba(0,0,0,.48); }
.style-jour .section--white { --accent: #fff; --on-accent: #0b0c0e; --accent-2: #ffb38a; }
.inv-box { position: relative; }
.inv-canvas { position: absolute; pointer-events: none; }
.is-inverted .inv-title, .is-inverted .inv-title a, .is-inverted .inv-title a:hover { color: transparent; }
.inv-title .w { white-space: nowrap; }
.inv-title .bl { display: inline-block; width: 0; height: 0; }

/* ---------- Accueil : espaces noirs entre les sections, avec fondu ---------- */
.home .site-main { --gap: clamp(3.5rem, 9vw, 8rem); --fade: clamp(5rem, 13vw, 11rem); background: #000; padding-bottom: var(--gap); }
.home .site-main > .section { margin-top: var(--gap); padding-block: calc(var(--space) + 2.5rem); }
.home .hero__shade { background: linear-gradient(to top, #000 0, transparent 55%); }
/* Sections sans image : la couleur du thème se fond dans le noir en haut et en bas. */
.home .site-main > .section:not(.section--bg) {
  background: linear-gradient(to bottom, #000 0, var(--bg) var(--fade), var(--bg) calc(100% - var(--fade)), #000 100%); }
.home .site-main > .section--alt:not(.section--bg) {
  background: linear-gradient(to bottom, #000 0, var(--bg-2) var(--fade), var(--bg-2) calc(100% - var(--fade)), #000 100%); }
/* Sections avec image ou vidéo : le fond sort du noir et y retourne. */
.home .section--bg { background: #000; }
.home .section__bg::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, #000 0, transparent var(--fade), transparent calc(100% - var(--fade)), #000 100%); }
.home .section--bg:not(.section--white) .section__bg::after { background: color-mix(in srgb, var(--sbg) 70%, transparent); }

/* ---------- Pied de page : logos des réseaux, alignés à gauche au-dessus du nom ---------- */
.site-footer .socials { justify-content: flex-start; align-items: center; gap: .5rem clamp(1.25rem, 3vw, 2.25rem); margin: 0 0 clamp(2rem, 5vw, 3.5rem); }
.socials__icon, .socials__text { display: inline-flex; align-items: center; min-height: 3rem; color: var(--ink); text-decoration: none; transition: color .2s, transform .2s; }
.socials__icon svg { width: clamp(2.25rem, 4vw, 3rem); height: clamp(2.25rem, 4vw, 3rem); fill: currentColor; }
.socials__text { font: 700 clamp(1.05rem, 1.8vw, 1.35rem)/1 var(--display); }
.socials__icon:hover, .socials__text:hover { color: var(--accent); transform: translateY(-3px); }
.style-jour .socials__icon:hover, .style-jour .socials__text:hover { color: var(--accent-2); }
