/* ============================================================
   Evanescence France — Feuille de style principale
   Sombre, gothique, rouge sang sur noir.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --black: #090505;
  --black-2: #110807;
  --surface: #170b0a;
  --surface-2: #20100e;
  --border: #361b18;

  --red: #e01020;
  --red-bright: #ff2233;
  --red-deep: #8a0a14;
  --red-glow: rgba(224, 16, 32, 0.45);

  --text: #efe9e7;
  --text-dim: #b3a8a3;
  --text-faint: #7c6c64;

  --font-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --radius: 4px;
  --transition: 0.25s ease;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: .02em; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-bright); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-title { font-size: clamp(1.7rem, 4vw, 2.4rem); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.section-title .accent, .accent { color: var(--red); }
.section-intro { color: var(--text-dim); max-width: 60ch; margin-bottom: 2.5rem; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.7rem; font-family: var(--font-body); font-size: .82rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--red); border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition); background: transparent; color: var(--text);
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 0 24px -6px var(--red-glow); }
.btn-primary:hover { background: var(--red-bright); border-color: var(--red-bright); transform: translateY(-2px); color: #fff; }
.btn-ghost:hover { background: rgba(224,16,32,.1); color: #fff; }
.btn svg { width: 18px; height: 18px; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }

/* ============================================================
   HEADER + NAVIGATION
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,7,10,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 0 10px rgba(224,16,32,.3)); }
.brand-text {
  display: inline-grid; font-family: var(--font-display); text-transform: uppercase; white-space: nowrap;
}
.brand-main {
  font-size: 1.28rem; letter-spacing: .14em; line-height: 1.05;
}
.brand-text small {
  display: flex; justify-content: space-between; width: 100%; margin-top: .18rem;
  font-size: .66rem; letter-spacing: 0; line-height: 1; color: var(--red);
}

/* Nav principale */
.main-nav > ul { display: flex; align-items: center; gap: .25rem; }
.main-nav .nav-item { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: .3rem;
  padding: .65rem .85rem; font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim);
}
.main-nav > ul > li > a:hover,
.main-nav .nav-item:hover > a { color: var(--text); }
.main-nav .has-children > a::after {
  content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .6;
}

/* Sous-menus déroulants */
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease; box-shadow: 0 20px 50px -12px rgba(0,0,0,.7); z-index: 50;
}
.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li > a {
  display: block; padding: .55rem .8rem; font-size: .82rem; color: var(--text-dim);
  border-radius: 3px; white-space: nowrap;
}
.submenu li > a:hover { background: rgba(224,16,32,.12); color: var(--text); }
.submenu .submenu-label { padding: .55rem .8rem .25rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
/* Sous-sous-menu : on aplatit en colonnes */
.submenu .has-children > .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .4rem .6rem; background: transparent; }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: .4rem; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: clamp(500px, 74vh, 720px);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  background: #000 center 26% / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, transparent 0%, rgba(7,7,10,.35) 55%, var(--black) 100%),
    linear-gradient(to top, var(--black) 2%, transparent 45%);
}
.hero-inner {
  position: relative; z-index: 2; max-width: 760px; margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-logo {
  display: block; width: min(500px, 76vw); height: auto; margin: 0 auto .6rem;
  transform: translateX(2.2%);
  filter: drop-shadow(0 6px 40px rgba(0,0,0,.85)) drop-shadow(0 0 30px var(--red-glow));
}
.hero-tagline {
  width: 100%;
  font-family: var(--font-display); font-size: clamp(.62rem, 1.45vw, 1rem);
  letter-spacing: clamp(.08em, .45vw, .2em); text-transform: uppercase; color: var(--text); white-space: nowrap;
  line-height: 1.5; text-shadow: 0 2px 16px rgba(0,0,0,.9); margin: 0;
}
.hero-tagline::before, .hero-tagline::after { content: '—'; color: var(--red); margin: 0 clamp(.25rem, 1.2vw, .55rem); }
/* Rapproche le fil d'actus du hero */
#actus { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
/* Mobile : cale le logo plus bas et rapproche les actualités */
@media (max-width: 640px) {
  .hero { min-height: clamp(410px, 59vh, 540px); padding-bottom: clamp(2.8rem, 12vw, 4.8rem); background-position: center 22%; }
  .hero-logo { width: min(360px, 82vw); margin-bottom: .5rem; }
  #actus { padding-top: .75rem; }
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); text-transform: uppercase; letter-spacing: .04em; line-height: 1; text-shadow: 0 4px 40px rgba(0,0,0,.8); }
.hero h1 .accent { display: block; color: var(--red); text-shadow: 0 0 40px var(--red-glow); }
.hero p:not(.hero-tagline) { margin-top: 1.4rem; font-size: 1.12rem; color: var(--text-dim); max-width: 46ch; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   LAYOUT CONTENU + SIDEBAR
   ============================================================ */
.layout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media (max-width: 940px) { .layout-grid { grid-template-columns: 1fr; } }

/* ---------- Cartes d'articles ---------- */
.article-feed { display: grid; gap: 2rem; }
.article-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
}
.article-card:hover { border-color: var(--red-deep); transform: translateY(-3px); box-shadow: 0 18px 40px -20px var(--red-glow); }
.article-card .thumb { align-self: stretch; min-height: 100%; height: 100%; background-color: var(--black-2); background-position: center; background-size: cover; background-repeat: no-repeat; position: relative; }
/* Image de repli (logo) : contenue, non rognée, centrée sur fond sombre */
.article-card .thumb.is-fallback {
  background-size: contain; background-origin: content-box; background-clip: content-box;
  padding: 14%; background-color: var(--black-2); min-height: 190px;
}
.article-card .thumb.placeholder { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--surface-2), var(--black-2)); display: grid; place-items: center; }

/* ---------- Filtres archives (combobox) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.filter-field { display: flex; flex-direction: column; gap: .35rem; }
.filter-field > span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.filter-field select {
  appearance: none; -webkit-appearance: none;
  min-width: 190px; padding: .6rem 2.4rem .6rem .9rem;
  font-family: var(--font-body); font-size: .92rem; color: var(--text);
  background-color: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e01020' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  cursor: pointer; transition: border-color var(--transition);
}
.filter-field select:hover { border-color: var(--red-deep); }
.filter-field select:focus { border-color: var(--red); outline: none; }
.filter-field select:disabled { opacity: .45; cursor: not-allowed; }
.filter-field select option { background: var(--surface); color: var(--text); }
.article-card .thumb.placeholder span { font-family: var(--font-display); font-size: 2rem; color: var(--red-deep); opacity: .5; }
.article-card .body { padding: 1.4rem 1.4rem 1.4rem 0; display: flex; flex-direction: column; }
.article-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.article-card h3 a:hover { color: var(--red-bright); }
.article-meta { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .7rem; }
.article-meta .cat { color: var(--red); }
.pin-badge { color: var(--red-bright); font-weight: 600; }
.article-card p { color: var(--text-dim); font-size: .95rem; }
.article-card .read-more { margin-top: auto; padding-top: 1rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 560px) {
  .article-card { grid-template-columns: 1fr; }
  .article-card .body { padding: 0 1.4rem 1.4rem; }
  .article-card .thumb { aspect-ratio: 16/9; height: auto; min-height: 0; }
}

/* ---------- Contact ---------- */
.contact-wrap { max-width: 720px; margin: 0 auto; }
.contact-form {
  display: grid; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.2rem, 4vw, 2rem);
}
.contact-form label { display: grid; gap: .45rem; color: var(--text-dim); font-size: .84rem; font-weight: 600; letter-spacing: .04em; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem .9rem; background: var(--black-2);
  border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
  font: inherit;
}
.contact-form textarea { resize: vertical; min-height: 180px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); outline: none; }
.contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice {
  margin-bottom: 1.2rem; padding: .9rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); color: var(--text-dim);
}
.notice p { margin: 0; }
.notice.success { border-color: rgba(80, 180, 120, .45); color: #d9f5e2; }
.notice.error { border-color: var(--red-deep); color: #ffd7d7; }

/* ---------- Sidebar ---------- */
.sidebar { display: grid; gap: 2rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.widget h4 { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.widget h4 .accent { color: var(--red); }
.mini-concert { display: flex; gap: .9rem; padding: .65rem 0; border-bottom: 1px solid var(--border); }
.mini-concert:last-child { border-bottom: 0; }
.mini-concert .d { flex-shrink: 0; text-align: center; min-width: 48px; }
.mini-concert .d .day { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--red); }
.mini-concert .d .mon { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.mini-concert .info strong { display: block; font-size: .92rem; }
.mini-concert .info span { font-size: .8rem; color: var(--text-dim); }
/* Cartes réseaux sociaux */
.social-cards { display: grid; gap: .6rem; }
.social-card {
  --brand: var(--red);
  display: flex; align-items: center; gap: .9rem;
  padding: .7rem .8rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2); transition: all var(--transition); position: relative; overflow: hidden;
}
.social-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand); opacity: .7; transition: width var(--transition);
}
.social-card:hover { border-color: var(--brand); transform: translateX(3px); box-shadow: 0 10px 26px -16px var(--brand); }
.social-card:hover::before { width: 5px; opacity: 1; }
.social-card .ic {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand);
}
.social-card .txt { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.social-card .txt strong { font-size: .95rem; color: var(--text); }
.social-card .txt small { font-size: .72rem; color: var(--text-faint); }
.social-card .go { color: var(--text-faint); transition: all var(--transition); }
.social-card:hover .go { color: var(--brand); transform: translateX(3px); }
/* Couleurs de marque */
.social-card.s-facebook  { --brand: #1877f2; }
.social-card.s-instagram { --brand: #e1306c; }
.social-card.s-twitter   { --brand: #d0d3d8; }
.social-card.s-youtube   { --brand: #ff0000; }
.social-card.s-tiktok    { --brand: #25f4ee; }

.social-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-list a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-dim);
}
.social-list a:hover { border-color: var(--red); color: var(--red-bright); background: rgba(224,16,32,.08); }
.social-list svg { width: 20px; height: 20px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 .6rem;
  border: 1px solid var(--border); border-radius: var(--radius); font-size: .9rem; color: var(--text-dim);
}
.pagination a:hover { border-color: var(--red); color: #fff; }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .ellipsis { border: 0; color: var(--text-faint); min-width: auto; padding: 0 .2rem; }

/* ============================================================
   PAGE ARTICLE
   ============================================================ */
.article-hero {
  position: relative; padding-block: clamp(3rem, 8vw, 6rem) 2.5rem; border-bottom: 1px solid var(--border);
  background: #000 var(--bg-img, url("../img/bg.jpg")) center 20% / cover no-repeat;
  overflow: hidden;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(9,5,5,.62), rgba(9,5,5,.78) 70%, var(--black));
}
.article-hero .container { position: relative; z-index: 2; }
.article-hero h1 { text-shadow: 0 3px 28px rgba(0,0,0,.8); }
.article-hero .container { max-width: 820px; }
.article-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 1rem 0; }
.article-hero .article-meta { font-size: .8rem; }
.article-cover { max-width: 820px; margin: 0 auto; aspect-ratio: 16/9; background: var(--surface) center/cover no-repeat; border-radius: var(--radius); border: 1px solid var(--border); margin-top: 1.5rem; }
.article-cover.is-fallback { background-size: contain; background-color: var(--black-2); }
.prose { max-width: 820px; margin: 0 auto; font-size: 1.08rem; color: #d8d5df; }
.prose p { margin-bottom: 1.3rem; }
.prose h2, .prose h3 { margin: 2rem 0 1rem; color: #fff; }
.prose a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { border-left: 3px solid var(--red); padding-left: 1.2rem; margin: 1.5rem 0; color: var(--text-dim); font-style: italic; }
/* ---------- Mapping classes WordPress (couleurs du contenu importé) ---------- */
.prose .has-vivid-red-color, .prose .has-luminous-vivid-orange-color, .prose .has-red-color { color: var(--red-bright) !important; }
.prose .has-white-color, .prose .has-very-light-gray-color { color: var(--text) !important; }
.prose .has-black-color { color: var(--text) !important; }
/* On neutralise les fonds imposés (déjà sur fond sombre) */
.prose .has-background, .prose .has-black-background-color, .prose .has-white-background-color { background: transparent !important; padding: 0 !important; }
.prose .wp-block-image { margin: 1.6rem 0; }
.prose figure { margin: 1.6rem 0; }
.prose figcaption { font-size: .82rem; color: var(--text-faint); text-align: center; margin-top: .5rem; }

/* ============================================================
   MODE INTERVIEW (éditorial / magazine)
   ============================================================ */
.article-hero--interview .article-meta .cat { color: var(--red-bright); font-weight: 700; }
.prose-interview {
  font-family: 'Lora', Georgia, serif; font-size: 1.1rem; line-height: 1.62; color: #e7e2e4; max-width: 720px;
}
.prose-interview p { margin-bottom: .55rem; }
/* Chapô : 1er paragraphe en exergue + lettrine */
.prose-interview > p:first-of-type { font-size: 1.18rem; color: #f1ecee; margin-bottom: 1rem; }
.prose-interview > p:first-of-type::first-letter {
  float: left; font-family: var(--font-display); font-size: 3.2em; line-height: .8;
  padding: .05em .12em 0 0; color: var(--red); font-weight: 700;
}
/* Dialogue : questions à gauche (rouge), réponses à droite */
.prose-interview .has-vivid-red-color,
.prose-interview .has-red-color {
  font-family: var(--font-display); font-weight: 600; color: var(--red-bright) !important;
}
/* Question = paragraphe contenant le rouge vif : à droite */
.prose-interview p:has(.has-vivid-red-color),
.prose-interview p:has(.has-red-color) {
  text-align: right; margin: 1.3rem 0 .2rem auto; max-width: 90%;
  color: var(--red-bright); border-right: 2px solid var(--red-deep); padding-right: 1rem;
}
/* Réponse = paragraphe en italique : à gauche */
.prose-interview p:has(> em),
.prose-interview p:has(> strong > em) {
  text-align: left; margin: .2rem auto 1.3rem 0; max-width: 90%;
}
.prose-interview p:has(> em) em { font-style: italic; color: #e7e2e4; }
.prose-interview p:has(> em) em::before { content: '« '; color: var(--red); font-style: normal; font-weight: 600; }
.prose-interview p:has(> em) em::after { content: ' »'; color: var(--red); font-style: normal; font-weight: 600; }
.prose-interview strong { color: #fff; }
/* Citations en exergue */
.prose-interview blockquote {
  border: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: .9rem 0; margin: 1.3rem 0; font-family: var(--font-display);
  font-size: 1.3rem; line-height: 1.35; color: #fff; font-style: normal; text-align: left;
}
.prose-interview blockquote::before { content: '« '; color: var(--red); }
.prose-interview blockquote::after { content: ' »'; color: var(--red); }
.prose-interview a { color: var(--red-bright); }
@media (max-width: 600px) { .prose-interview { font-size: 1.08rem; } }

/* ---------- Galerie de clips ---------- */
.clips-era { margin-bottom: 3rem; }
.clips-year { font-size: .9rem; color: var(--text-faint); font-family: var(--font-body); letter-spacing: .1em; }
.clips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; margin-top: 1.5rem; }
.clip-card { cursor: pointer; }
.clip-thumb {
  position: relative; aspect-ratio: 16/9; background: var(--black-2) center/cover no-repeat;
  border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden;
  transition: all var(--transition);
}
.clip-card:hover .clip-thumb, .clip-card:focus-visible .clip-thumb {
  border-color: var(--red); box-shadow: 0 14px 40px -20px var(--red-glow); transform: translateY(-3px);
}
.clip-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,5,5,.6), transparent 55%); }
.clip-play {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(224,16,32,.92); color: #fff; transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.clip-card:hover .clip-play { transform: scale(1.12); background: var(--red-bright); }
.clip-play svg { margin-left: 3px; }
.clip-title { margin-top: .7rem; font-family: var(--font-display); font-size: 1rem; letter-spacing: .02em; }
.clip-y { color: var(--text-faint); font-family: var(--font-body); font-size: .8rem; }
.clip-card .clip-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lecteur vidéo YouTube responsive */
.video-embed {
  position: relative; aspect-ratio: 16/9; margin: 1.8rem auto; max-width: 760px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: #000; box-shadow: 0 14px 40px -20px var(--red-glow);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Iframes restantes (non vidéo) : bornées */
.prose iframe { max-width: 100%; }
.prose ul, .prose ol { margin: 0 0 1.3rem 1.4rem; }
.prose li { margin-bottom: .4rem; }
/* Premier paragraphe en exergue */
.prose > p:first-of-type { font-size: 1.18rem; color: #efeaec; }
.prose strong { color: #fff; }
.wiki-credit { font-size: .82rem; color: var(--text-faint); margin-top: 1rem; }

/* ---------- Agenda de tournée (giglist) ---------- */
.prose .giglist, .giglist {
  list-style: none; margin: 1.5rem 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .5rem;
}
.giglist .gig {
  display: flex; align-items: center; gap: 1rem; margin: 0;
  padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--red-deep); border-radius: var(--radius);
  transition: all var(--transition);
}
.giglist .gig:hover { border-left-color: var(--red); background: var(--surface-2); transform: translateX(2px); }
.giglist .gig-d {
  flex-shrink: 0; min-width: 74px; text-align: center; font-family: var(--font-display);
  font-size: .9rem; font-weight: 600; color: var(--red); letter-spacing: .02em;
  padding: .25rem .4rem; background: rgba(224,16,32,.08); border-radius: 3px;
}
.giglist .gig-v { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.giglist .gig-v strong { color: var(--text); font-weight: 600; font-size: .95rem; }
.giglist .gig-v em { color: var(--text-dim); font-style: normal; font-size: .82rem; }
.wiki-credit a { color: var(--text-dim); }
.wiki-credit a:hover { color: var(--red-bright); }

/* ============================================================
   GRILLES (albums, membres)
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.6rem; }
.cover-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.cover-card:hover { border-color: var(--red-deep); transform: translateY(-4px); }
.cover-card .img { aspect-ratio: 1; background: linear-gradient(135deg, var(--surface-2), var(--black-2)) center/cover no-repeat; display: grid; place-items: center; }
.cover-card .img.is-fallback { background-size: 62%; background-repeat: no-repeat; background-position: center; }
/* ---------- Fiche technique album (infobox) ---------- */
.album-infobox { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; }
.ib-title { font-family: var(--font-display); font-size: 1.05rem; text-align: center; padding: .8rem 1rem; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-bottom: 1px solid var(--border); }
.ib-cover { aspect-ratio: 1; background: var(--black-2) center/cover no-repeat; }
.ib-cover.is-fallback { background-size: 62%; background-position: center; }
.ib-sub { text-align: center; font-size: .82rem; color: var(--text-dim); padding: .7rem 1rem; border-bottom: 1px solid var(--border); }
.ib-fields { width: 100%; border-collapse: collapse; font-size: .85rem; }
.ib-fields th, .ib-fields td { text-align: left; vertical-align: top; padding: .55rem .9rem; border-bottom: 1px solid var(--border); }
.ib-fields th { width: 38%; color: var(--red); font-weight: 600; font-size: .78rem; letter-spacing: .03em; }
.ib-fields td { color: var(--text-dim); }
.ib-fields tr:last-child th, .ib-fields tr:last-child td { border-bottom: 0; }
.ib-chrono { padding: .8rem 1rem 1rem; border-top: 1px solid var(--border); }
.ib-chrono-h { display: block; text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .6rem; }
.ib-chrono-row { display: flex; justify-content: space-between; gap: .8rem; font-size: .8rem; }
.ib-chrono-row a { color: var(--red); }
.ib-chrono-row a:hover { color: var(--red-bright); }
.ib-prev, .ib-next { flex: 1; color: var(--text-dim); }

.spotify-embed { margin-top: 1.2rem; border-radius: 12px; overflow: hidden; min-height: 420px; }
.spotify-embed iframe { display: block; border: 0; border-radius: 12px; }

/* ---------- Lecteur tracklist (previews) ---------- */
.muted-note { color: var(--text-faint); font-size: .82rem; margin: .4rem 0 1.2rem; }
.tracklist { margin-top: .5rem; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.track { display: flex; align-items: center; gap: 1rem; padding: .55rem .8rem; border-bottom: 1px solid var(--border); transition: background var(--transition); }
.track:last-child { border-bottom: 0; }
.track:hover { background: var(--surface); }
.track.playing { background: rgba(224,16,32,.1); }
.track-play {
  flex-shrink: 0; position: relative; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  display: grid; place-items: center; cursor: pointer; transition: all var(--transition);
}
.track-play:hover:not(:disabled) { border-color: var(--red); color: var(--red-bright); }
.track-play:disabled { opacity: .4; cursor: default; }
/* num visible par défaut, play au survol, pause si lecture */
.track-num { font-size: .8rem; color: var(--text-dim); }
.track-play .ic-play, .track-play .ic-pause { position: absolute; inset: 0; display: none; place-items: center; }
.track:hover .track-play:not(:disabled) .track-num { display: none; }
.track:hover .track-play:not(:disabled) .ic-play { display: grid; }
.track.playing .track-num { display: none; }
.track.playing .ic-play { display: none !important; }
.track.playing .ic-pause { display: grid; }
.track.playing .track-play { border-color: var(--red); color: var(--red-bright); }
.track-name { flex: 1; min-width: 0; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track.playing .track-name { color: #fff; }
.track-time { font-size: .82rem; color: var(--text-faint); flex-shrink: 0; }
.track-link { color: var(--text-faint); font-size: .9rem; flex-shrink: 0; }
.track-link:hover { color: var(--red-bright); }
.track.no-preview .track-name { color: var(--text-faint); }
.cover-card .img span { font-family: var(--font-display); font-size: 1.4rem; color: var(--red-deep); padding: 1rem; text-align: center; }
.cover-card .meta { padding: 1rem 1.2rem; }
.cover-card .meta h3 { font-size: 1.15rem; }
.cover-card .meta .year { font-size: .8rem; color: var(--text-faint); }
.member-card .img { aspect-ratio: 3/4; }

/* ============================================================
   CONCERTS
   ============================================================ */
.concert-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.4rem 1.6rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 1rem; transition: all var(--transition);
}
.concert-row:hover { border-color: var(--red-deep); }
.concert-row .date { text-align: center; }
.concert-row .date .day { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--red); }
.concert-row .date .mon { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.concert-row .date .yr { font-size: .72rem; color: var(--text-faint); }
.concert-row .place h3 { font-size: 1.25rem; }
.concert-row .place span { color: var(--text-dim); display: inline-flex; align-items: center; gap: .4rem; }
.concert-row .place span svg { width: 16px; height: 16px; }
.concert-row.is-past { opacity: .6; }
.badge-soldout { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); border: 1px solid var(--red-deep); padding: .35rem .7rem; border-radius: 999px; }

/* Historique par ère (collapsible) */
.era-list { display: grid; gap: .8rem; margin-top: 1.8rem; }
.era { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.era > summary {
  list-style: none; cursor: pointer; padding: 1rem 1.3rem; display: flex; align-items: baseline;
  justify-content: space-between; gap: 1rem; transition: background var(--transition);
}
.era > summary::-webkit-details-marker { display: none; }
.era > summary::before {
  content: '▸'; color: var(--red); margin-right: .7rem; transition: transform var(--transition); display: inline-block;
}
.era[open] > summary::before { transform: rotate(90deg); }
.era > summary:hover { background: var(--surface-2); }
.era-name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .02em; flex: 1; }
.era-meta { font-size: .82rem; color: var(--text-faint); white-space: nowrap; }
.era[open] > summary { border-bottom: 1px solid var(--border); }
.era .giglist { padding: 0 1.1rem 1.1rem; }
@media (max-width: 640px) { .concert-row { grid-template-columns: 80px 1fr; } .concert-row .ticket { grid-column: 1 / -1; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); background: var(--black-2); padding-block: 3.5rem 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 60px; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-dim); font-size: .92rem; max-width: 38ch; }
.footer-col h5 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: var(--text-dim); font-size: .9rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--text-faint); font-size: .82rem; }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--red); }
.footer-credits { font-size: .76rem; opacity: .8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   PAGE GÉNÉRIQUE / 404
   ============================================================ */
.page-head {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
  background: #000 var(--bg-img, url("../img/bg.jpg")) center 18% / cover no-repeat;
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, transparent 0%, rgba(9,5,5,.45) 70%),
    linear-gradient(to bottom, rgba(9,5,5,.55) 0%, rgba(9,5,5,.4) 40%, var(--black) 100%);
}
.page-head .container { position: relative; z-index: 2; }
.page-head .section-title { text-shadow: 0 3px 24px rgba(0,0,0,.7); }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); color: var(--red); line-height: 1; text-shadow: 0 0 50px var(--red-glow); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: auto; left: auto;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    width: min(340px, 85vw); max-width: 85vw;
    background: var(--black-2); border-left: 1px solid var(--border);
    transform: translateX(110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 1rem 1.2rem 2rem; z-index: 99;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; transition: transform .3s ease; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav > ul > li > a {
    padding: .95rem .4rem; border-bottom: 1px solid var(--border);
    font-size: .92rem; color: var(--text);
  }
  .main-nav .has-children > a::after {
    margin-left: auto; margin-top: 0; transition: transform .2s ease;
  }
  .nav-item.expanded > a::after { transform: rotate(225deg); }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 .4rem .6rem;
    max-height: 0; overflow: hidden; transition: max-height .3s ease; min-width: 0;
  }
  .nav-item.expanded > .submenu { max-height: 1600px; }
  .submenu li > a { padding: .6rem .6rem; font-size: .88rem; }

  /* Verrou de défilement + fond sombre derrière le panneau */
  body.nav-open { overflow: hidden; }
  body.nav-open::before {
    content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 98; animation: navfade .25s ease;
  }
  @keyframes navfade { from { opacity: 0; } to { opacity: 1; } }
}

@media (max-width: 420px) {
  .header-inner { gap: .75rem; }
  .brand { gap: .55rem; min-width: 0; }
  .brand img { height: 38px; }
  .brand-main { font-size: 1rem; letter-spacing: .11em; }
  .brand-text small { font-size: .54rem; }
  .nav-toggle { flex-shrink: 0; }
}
