/* ============================================================
   THE ARRS 2026 — BASE
   Tactical Telemetry Dark Mode + Se7en editorial
   ============================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  --noir:     #080808;
  --noir-2:   #111111;
  --bordure:  #1c1c1c;
  --dim:      #c8c8c8;
  --text:     #f0f0f0;
  --muted:    #a8a8a8;
  --rouge:    #c0150f;
  --blanc:    #f0f0f0;

  --bebas:    'Bebas Neue', sans-serif;
  --garamond: 'Cormorant Garamond', serif;
  --mono:     'IBM Plex Mono', monospace;

  --nav-h:    98px;
  --topbar-h: 34px;
  --max-w:    1400px;
}

/* --- RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--noir);
  color: var(--text);
  font-family: var(--garamond);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- GRAIN OVERLAY --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  animation: grain-shift 0.4s steps(1) infinite;
}

@keyframes grain-shift {
  0%   { background-position: 0 0; }
  25%  { background-position: -50px -30px; }
  50%  { background-position: 40px 60px; }
  75%  { background-position: -70px 20px; }
  100% { background-position: 30px -50px; }
}

/* --- GLITCH LINE ROUGE (périodique, sans scanlines) --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 8999;
  pointer-events: none;
  animation: body-glitch 14s infinite;
}

/* Glitch global : dérive horizontale rouge périodique */
@keyframes body-glitch {
  0%, 88%, 100% { transform: none; filter: none; }
  89% { transform: translate(-1px, 0); filter: drop-shadow(2px 0 rgba(192,21,15,0.35)); }
  90% { transform: translate(1px, 0);  filter: drop-shadow(-2px 0 rgba(0,200,255,0.2)); }
  91% { transform: none; filter: none; }
  92% { transform: translate(-2px, 0); filter: drop-shadow(1px 0 rgba(192,21,15,0.25)); }
  93% { transform: none; filter: none; }
}

/* --- NAVIGATION --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  height: var(--nav-h);
  display: flex;
  flex-direction: column;
  background: rgba(6,6,6,0.96);
  border-bottom: 1px solid var(--bordure);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Barre supérieure réseaux ── */
.nav-topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
}
.nav-topbar-phrase {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rouge);
  opacity: 0.85;
}
.nav-topbar-socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.nav-topbar-socials a {
  display: flex;
  align-items: center;
  color: var(--blanc);
  transition: color 0.2s;
  line-height: 0;
}
.nav-topbar-socials a:hover { color: var(--rouge); }
.nav-topbar-socials svg { width: 14px; height: 14px; }

/* ── Ligne principale nav ── */
.nav-main-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

.nav-logo {
  font-family: var(--bebas);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--blanc);
  line-height: 1;
}
.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--rouge); }

.nav-cta {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--noir);
  background: var(--rouge);
  padding: 0.4rem 1rem;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* Bouton Premier Cercle dans la nav */
.nav-pc-btn {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--rouge);
  border: 1px solid var(--rouge);
  padding: 0.45rem 1.2rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  background: none;
  cursor: pointer;
}
.nav-pc-btn:hover {
  background: var(--rouge);
  color: var(--blanc);
}
.nav-link--ag {
  color: var(--blanc);
  opacity: 0.7;
}
.nav-link--ag:hover { opacity: 1; }

/* Mega menu */
.mega-item { position: relative; }

.mega-btn {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mega-btn:hover { color: var(--rouge); }

.mega-panel {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8,8,8,0.98);
  border-bottom: 1px solid var(--bordure);
  padding: 2.5rem var(--max-w);
  padding: 2.5rem calc((100vw - var(--max-w)) / 2 + 2.5rem);
  display: none;
  z-index: 7900;
}
.mega-panel.open { display: block; }

.mega-inner {
  display: grid;
  grid-template-columns: 2fr 1.4fr 200px;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.mega-col-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--bordure);
}

/* ── ALBUMS — grille 4 colonnes ── */
.mega-albums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mega-album {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.mega-album:hover { opacity: 0.85; transform: translateY(-2px); }
.mega-album img, .mega-album-placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(50%) brightness(0.8);
  transition: filter 0.3s;
  display: block;
}
.mega-album-placeholder { background: var(--blanc); }
.mega-album:hover img { filter: grayscale(0%) brightness(0.95); }
.mega-album-year {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--rouge);
  letter-spacing: 0.1em;
  display: block;
}
.mega-album-name {
  font-family: var(--bebas);
  font-size: 0.85rem;
  color: var(--blanc);
  letter-spacing: 0.04em;
  line-height: 1.2;
  display: block;
}

/* ── MEMBRES — portraits rouge ── */
.mega-membres {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.mega-membre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.mega-membre:hover { opacity: 0.85; transform: translateY(-2px); }
.mega-membre-img {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #111;
}
.mega-membre-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
  filter: grayscale(100%) brightness(0.6) contrast(1.4) sepia(100%) hue-rotate(315deg) saturate(900%);
  transition: filter 0.3s;
  display: block;
}
.mega-membre-img .mega-membre-placeholder { width: 100%; height: 100%; background: #1a0a0a; }
.mega-membre-overlay {
  position: absolute;
  inset: 0;
  background: rgba(190,8,8,0.4);
  mix-blend-mode: multiply;
}
.mega-membre:hover .mega-membre-img img {
  filter: grayscale(100%) brightness(0.7) contrast(1.3) sepia(100%) hue-rotate(315deg) saturate(700%);
}
.mega-membre-name {
  display: block;
  font-family: var(--bebas);
  font-size: 1rem;
  color: var(--blanc);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1;
}
.mega-membre-role {
  display: block;
  font-family: var(--mono);
  font-size: 0.5rem;
  color: var(--rouge);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

/* ── LIENS ── */
.mega-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.mega-links-list a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: color 0.2s, padding-left 0.2s;
  text-decoration: none;
}
.mega-links-list a:hover { color: var(--rouge); padding-left: 4px; }

/* ── PANELS SPÉCIALISÉS ── */

/* Discographie — albums seulement, grille large */
.mega-inner--discog {
  grid-template-columns: 1fr;
}
.mega-discog-hero {
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bordure);
}
.mega-albums--wide {
  grid-template-columns: repeat(8, 1fr);
}

/* Membres — portraits pleine largeur */
.mega-inner--membres {
  grid-template-columns: 1fr;
}

/* Fond sceau sur le panel membres */
.mega-panel--membres {
  overflow: hidden;
}
.mega-panel--membres::before {
  content: '';
  position: fixed;
  right: 4%;
  top: calc(var(--nav-h) + 10px);
  width: 280px;
  height: 280px;
  background: url('/wp-content/themes/thearrs-2026/assets/img/premier-cercle-sceau.jpg') center/cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
  border-radius: 50%;
  z-index: 7901;
}

/* Grand titre Membres */
.mega-membres-hero {
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bordure);
  position: relative;
  z-index: 1;
}
.mega-membres-titre {
  font-family: var(--bebas);
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blanc);
  margin: 0;
}
.mega-membres-titre span {
  color: var(--rouge);
}
.mega-voir-tous {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--rouge);
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  margin-left: auto;
  white-space: nowrap;
}
.mega-voir-tous:hover { opacity: 1; }
.mega-voir-tous--hero {
  align-self: center;
}
.mega-membres--wide {
  max-width: 960px;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* Premier Cercle — mega panel pleine largeur avec cartes visuelles */
.mega-item--pc { position: relative; }
.mega-panel.mega-panel--pc {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8,8,8,0.98);
  border-bottom: 1px solid var(--bordure);
  border-top: 2px solid var(--rouge);
  padding: 1.4rem calc((100vw - var(--max-w)) / 2 + 1.4rem);
  display: none;
  z-index: 7900;
}
.mega-panel.mega-panel--pc.open { display: block; }

.mega-inner--pc {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: center;
}

/* Col gauche : identité Premier Cercle */
.pc-identity {
  display: flex;
  flex-direction: column;
}
.pc-identity-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
}
.pc-identity-titre {
  font-family: var(--bebas);
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--blanc);
  margin: 0;
}
.pc-identity-titre span { color: var(--rouge); }
.pc-identity-sceau {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.3s;
}
.pc-identity-link:hover .pc-identity-sceau {
  opacity: 1;
  transform: rotate(6deg);
}
.pc-identity-cta {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rouge);
}

/* Col droite : grille 4 vignettes */
.pc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* Cartes visuelles PC */
.pc-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s;
}
.pc-card:hover { transform: translateY(-3px); }

.pc-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a0000;
}

.pc-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.55) contrast(1.3) sepia(80%) hue-rotate(315deg) saturate(600%);
  transition: filter 0.3s, transform 0.4s;
  display: block;
}
.pc-card:hover .pc-card-img img {
  filter: grayscale(80%) brightness(0.65) contrast(1.2) sepia(60%) hue-rotate(315deg) saturate(400%);
  transform: scale(1.04);
}
.pc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
}

/* Sceau centré sur la carte featured */
.pc-card-sceau {
  position: absolute !important;
  top: 50% !important; left: 50% !important;
  transform: translate(-50%, -65%) !important;
  width: 52% !important; height: auto !important;
  filter: none !important;
  opacity: 0.75;
  object-fit: contain !important;
  aspect-ratio: unset !important;
}

.pc-card-body {
  padding: 0.65rem 0.6rem 0.6rem;
  background: #0c0000;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pc-card-eyebrow {
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(192,21,15,0.7);
  display: block;
}
.pc-card-title {
  font-family: var(--bebas);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--blanc);
  line-height: 1;
  display: block;
}
.pc-card-sub {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: block;
}
.pc-card-cta {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-top: auto;
  display: block;
  padding-top: 0.6rem;
}
.mega-item--pc .nav-pc-btn {
  background: none;
  cursor: pointer;
}

/* Mobile — sous-liens Premier Cercle */
.nav-mobile-pc-sub {
  padding-left: 2.5rem !important;
  opacity: 0.65;
  font-size: 0.7rem !important;
}

/* --- HELPERS --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rouge);
}

hr.divider {
  border: none;
  border-top: 1px solid var(--bordure);
  margin: 0;
}

hr.divider-rouge {
  border: none;
  border-top: 1px solid var(--rouge);
  margin: 0;
}

/* --- BUTTONS --- */
.btn-rouge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blanc);
  background: var(--rouge);
  padding: 0.75rem 2rem;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.btn-rouge:hover { opacity: 0.82; }
.btn-rouge:active { transform: translateY(1px); }

.btn-ghost {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--bordure);
  padding: 0.75rem 2rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover {
  border-color: var(--rouge);
  color: var(--rouge);
}

/* --- GLITCH LOGO --- */
.hero-logo-img {
  display: block;
  margin: 0 auto 0;
  width: clamp(240px, 44vw, 620px);
  height: auto;
  animation: glitch-logo 8s infinite;
}

@keyframes glitch-logo {
  0%, 90%, 100% { transform: none; filter: none; }
  91%  { transform: translate(-3px, 0); filter: drop-shadow(3px 0 var(--rouge)); }
  92%  { transform: translate(3px, 0);  filter: drop-shadow(-3px 0 rgba(0,180,255,0.6)); }
  93%  { transform: none; filter: none; }
  94%  { transform: translate(-2px, 1px); filter: drop-shadow(2px 0 var(--rouge)); }
  95%  { transform: none; filter: none; }
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--bordure);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--blanc);
  text-transform: uppercase;
}

.footer-v1 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--blanc);
  opacity: 0.35;
  margin-top: 1rem;
  border-top: 1px solid rgba(240,240,240,0.08);
  padding-top: 0.8rem;
  max-width: 36ch;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blanc);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--rouge); }

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Ligne rouge qui sweep au chargement */
@keyframes redline-sweep {
  0%   { transform: translateX(-100%); opacity: 0.8; }
  100% { transform: translateX(110vw); opacity: 0; }
}
.page-redline {
  position: fixed;
  top: 0;
  left: 0;
  width: 60vw;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rouge), transparent);
  z-index: 9500;
  pointer-events: none;
  animation: redline-sweep 1.2s ease 0.3s both;
}

/* --- PLAYER AMBIANCE --- */
.ambient-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 7900;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  background: rgba(12,2,2,0.98);
  border-top: 2px solid rgba(192,21,15,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 24px rgba(192,21,15,0.12);
}

.ambient-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid rgba(192,21,15,0.35);
  border-radius: 0;
  cursor: pointer;
  padding: 6px 10px;
  color: var(--rouge);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.ambient-btn:hover { color: var(--blanc); border-color: var(--rouge); background: rgba(192,21,15,0.15); }
.ambient-btn.playing { color: var(--blanc); border-color: var(--rouge); background: rgba(192,21,15,0.1); }

.ambient-icon { display: flex; align-items: center; flex-shrink: 0; }

/* Barres d'animation audio */
.ambient-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}
.ambient-bars span {
  width: 2px;
  background: var(--blanc);
  border-radius: 1px;
  transition: background 0.2s;
  animation: none;
  height: 3px;
}
.ambient-btn.playing .ambient-bars span {
  background: var(--rouge);
  animation: bar-dance 1.2s ease-in-out infinite;
}
.ambient-bars span:nth-child(1) { animation-delay: 0s;    --bar-h: 8px; }
.ambient-bars span:nth-child(2) { animation-delay: 0.15s; --bar-h: 14px; }
.ambient-bars span:nth-child(3) { animation-delay: 0.3s;  --bar-h: 10px; }
.ambient-bars span:nth-child(4) { animation-delay: 0.1s;  --bar-h: 16px; }
.ambient-bars span:nth-child(5) { animation-delay: 0.25s; --bar-h: 6px; }

@keyframes bar-dance {
  0%, 100% { height: 3px; }
  50%       { height: var(--bar-h, 10px); }
}

.ambient-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.ambient-track {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(210,180,160,0.75);
}
.ambient-btn.playing ~ .ambient-label .ambient-track { color: var(--blanc); }
.ambient-hint {
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  color: rgba(192,21,15,0.5);
}
.ambient-btn.playing ~ .ambient-label .ambient-hint { display: none; }

/* Volume slider */
.ambient-vol {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.ambient-vol input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: 2px;
  background: #1a1a1a;
  outline: none;
  cursor: pointer;
}
.ambient-vol input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: var(--rouge);
  border-radius: 50%;
  cursor: pointer;
}
.ambient-vol input[type=range]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--rouge);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* Ajuster le body pour le player en bas */
body { padding-bottom: 40px; }

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-img { animation: none; }
  .ambient-bars span { animation: none !important; }
  .page-redline { animation: none; }
  .reveal { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- HAMBURGER (caché desktop) --- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--blanc);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- MENU MOBILE OVERLAY --- */
.nav-mobile {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(4,4,4,0.98);
  z-index: 7999;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-inner {
  padding: 3rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-link {
  font-family: var(--bebas);
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--blanc);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--bordure);
  transition: color 0.2s;
  line-height: 1.1;
}
.nav-mobile-link:hover { color: var(--rouge); }
.nav-mobile-pc {
  color: var(--rouge);
  border-color: rgba(192,21,15,0.3);
}
.nav-mobile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bordure);
}
.nav-mobile-socials a {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blanc);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-socials a:hover { color: var(--rouge); }

/* ── POPUP NEWSLETTER ── */
.arrs-popup {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.arrs-popup.is-open {
  opacity: 1;
  pointer-events: all;
}
.arrs-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(3px);
}
.arrs-popup-card {
  position: relative;
  z-index: 1;
  background: #0a0a0a;
  border: 1px solid #1c1c1c;
  border-top: 3px solid var(--rouge);
  padding: 3rem 3rem 2.5rem;
  max-width: 520px;
  width: calc(100% - 2rem);
  transform: translateY(24px);
  transition: transform .35s ease;
}
.arrs-popup.is-open .arrs-popup-card {
  transform: translateY(0);
}
.arrs-popup-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--blanc);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  transition: color .2s;
}
.arrs-popup-close:hover { color: var(--blanc); }
.arrs-popup-eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 1rem;
}
.arrs-popup-title {
  font-family: var(--bebas);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--blanc);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}
.arrs-popup-body {
  font-family: var(--garamond);
  font-size: 1.1rem;
  color: var(--blanc);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}
/* shortcode dans le popup — strip du fond et bordure */
.arrs-popup-form .arrs-form-wrap {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.arrs-popup-form .af-title { display: none !important; }
.arrs-popup-form .af-sub   { display: none !important; }
.arrs-popup .aqf-row { grid-template-columns: 1fr; gap: 0.8rem; margin-bottom: 0.8rem; }
@media (max-width: 480px) {
  .arrs-popup-card { padding: 2.2rem 1.5rem 2rem; }
}

/* ============================================================
   BLOG AVANT-GARDE — MUR DE CONTENU
   ============================================================ */
.arrs-wall-teaser {
  font-family: var(--cormorant);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-style: italic;
}
.arrs-content-wall {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 3rem 2rem;
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(192,21,15,0.04), transparent);
}
.arrs-wall-sceau img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.55;
  filter: grayscale(40%);
}
.arrs-wall-title {
  font-family: var(--bebas);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--blanc);
  margin: 0;
}
.arrs-wall-hint {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin: 0;
}
.arrs-wall-form { width: 100%; max-width: 400px; }
.arrs-wall-fields {
  display: flex;
  gap: 0;
  border: 1px solid rgba(192,21,15,0.4);
}
.arrs-wall-fields input[type="password"] {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--blanc);
  outline: none;
}
.arrs-wall-fields input[type="password"]::placeholder { color: rgba(255,255,255,0.25); }
.arrs-wall-fields button {
  background: var(--rouge);
  color: var(--blanc);
  border: none;
  padding: 0.75rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.arrs-wall-fields button:hover { background: #a01008; }
.arrs-wall-error {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--rouge);
  letter-spacing: 0.08em;
  margin: 0;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-topbar { display: none; }

  .nav-right .nav-link,
  .nav-pc-btn,
  .mega-item { display: none; }

  .nav-hamburger { display: flex; }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
