:root {
  --bg-dark: #0a0a0c;
  --bg-card: #141419;
  --accent: #8b0000;
  --accent-hover: #b21818;
  --footcol: #5c0f13;
  --text-main: #f1f1f1;
  --text-muted: #a0a0ab;
  --border: #260607;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}

.nav-container.centered { justify-content: center !important; }

.logo-link { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 100px; width: auto; object-fit: contain; display: block; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.lang-flag { display: inline-flex; align-items: center; margin-left: 0.5rem; }
.lang-flag svg {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  vertical-align: middle;
}
.lang-flag:hover svg { transform: scale(1.15); opacity: 0.9; }

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.nav-links a.active, .nav-links a:hover { color: var(--accent); }

.text-link {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.text-link:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

/* Page Index / Accueil */
body.page-index { background-color: #000000; justify-content: center; align-items: center; position: relative; overflow: hidden; }
body.page-index header { background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(10px); }
body.page-index video { max-width: 100%; height: auto; display: block; }

/* Styles généraux de contenu */
main { flex: 1; width: 100%; padding-top: 8rem; padding-bottom: 2rem; }
.page-title { padding: 1rem 2rem 1.5rem; text-align: center; max-width: 1200px; margin: 0 auto; }
.section-title { font-family: var(--font-heading); font-size: 2rem; text-transform: uppercase; letter-spacing: 2px; text-align: center; margin-bottom: 2rem; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--accent); margin: 0.5rem auto 0; }

/* Styles Music */
.album-description { max-width: 800px; margin: 0 auto 2.5rem; padding: 0 1.5rem; text-align: center; color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.album-description p { margin-bottom: 1rem; }
.discography { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: center; }
.album-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; width: 100%; }
.album-art { width: 100%; aspect-ratio: 4/3; background: #1c1c24; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-muted); border-bottom: 1px solid var(--border); overflow: hidden; }
.album-art img { width: 80%; height: auto; object-fit: contain; display: block; }
.album-details { padding: 1.2rem 1.5rem; }
.album-details h2 { font-family: var(--font-heading); font-size: 1.6rem; }
.album-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.8rem; }
.tracklist { list-style: none; border-top: 1px solid var(--border); padding-top: 0.8rem; }
.track-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.9rem; }
.play-btn { background: var(--accent); color: #fff; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; transition: background 0.2s ease; }
.play-btn:hover { background: var(--accent-hover); }
.player-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: #0e0e12; border-top: 1px solid var(--border); padding: 0.8rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; z-index: 2000; }
.now-playing { display: flex; flex-direction: column; min-width: 200px; }
.now-playing .title { font-weight: 700; font-size: 0.95rem; }
.now-playing .album { color: var(--text-muted); font-size: 0.8rem; }
audio { width: 100%; max-width: 600px; height: 40px; }
body.page-music footer { margin-bottom: 70px; }

/* Styles Media & Galerie */
.band-description { max-width: 1000px; margin: 0 auto 2.5rem; padding: 0 1.5rem; text-align: center; color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.band-description p { margin-bottom: 1rem; }
.lineup-section { margin-top: 1.5rem; line-height: 1.3; }
.lineup-section p { margin-bottom: 0.2rem; }
.lineup-section .lineup-title { font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; }
#gallery { width: 100%; max-width: 1000px; margin: 0 auto 3rem; padding: 0 1rem; }
.carousel-container { position: relative; width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.carousel-slides { display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); width: 100%; }
.slide { min-width: 100%; position: relative; aspect-ratio: 16 / 9; background: #121216; display: flex; align-items: center; justify-content: center; }
.slide img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.slide-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem 2rem; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); color: #fff; font-family: var(--font-heading); font-size: 1.3rem; letter-spacing: 1px; pointer-events: none; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(10, 10, 12, 0.7); color: var(--text-main); border: 1px solid var(--border); width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; z-index: 10; transition: background 0.3s ease, color 0.3s ease; }
.carousel-btn:hover { background: var(--accent); color: #fff; }
.carousel-btn.prev { left: 15px; } .carousel-btn.next { right: 15px; }
.carousel-dots { position: absolute; bottom: 15px; right: 20px; display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: background 0.3s ease; }
.dot.active { background: var(--accent); }

.photo-grid-section { max-width: 1000px; margin: 0 auto 3rem; padding: 0 1rem; }
.photo-grid-title { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; text-align: center; }
.photo-grid-title::after { content: ''; display: block; width: 50px; height: 3px; background-color: var(--accent); margin: 0.4rem auto 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.photo-card { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); aspect-ratio: 4 / 3; box-shadow: 0 4px 15px rgba(0,0,0,0.3); cursor: pointer; transition: transform 0.3s ease, border-color 0.3s ease; }
.photo-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(5px); z-index: 3000; justify-content: center; align-items: center; padding: 2rem; }
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border: 1px solid var(--border); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 2rem; font-weight: 700; cursor: pointer; transition: color 0.2s ease; line-height: 1; }
.lightbox-close:hover { color: var(--accent); }

/* Styles Contact */
#contact { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 3rem; width: 100%; }
.contact-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.contact-info h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea { width: 100%; padding: 0.8rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; color: var(--text-main); font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.btn, a.btn, button.btn-submit { display: inline-block; background-color: var(--accent) !important; color: #ffffff !important; border: none !important; outline: none; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 0.9rem 2rem; border-radius: 4px; text-decoration: none; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; box-sizing: border-box; }
.btn:hover, a.btn:hover, button.btn-submit:hover { background-color: var(--accent-hover) !important; transform: translateY(-2px); }
.social-links { display: flex; gap: 1.2rem; align-items: center; margin-top: 1rem; margin-bottom: 2rem; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; border: none; outline: none; transition: transform 0.2s ease, opacity 0.2s ease; }
.social-btn img { width: 60px; height: 60px; object-fit: contain; border: none; }
.social-btn:hover { transform: translateY(-3px) scale(1.05); opacity: 0.9; }

/* ==========================================
   Styles spécifiques : EPK & Fiche Technique
   ========================================== */
.tech-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.top-download-container {
  text-align: center;
  margin-bottom: 2rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.tech-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent);
  text-transform: uppercase;
  margin: 1.2rem 0 0.5rem;
}

/* Disposition Album : Pochette + Tracklist */
.album-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.album-cover {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.album-tracklist-wrapper {
  flex: 1;
}

.tags-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-accent {
  background: var(--accent);
  color: #fff;
}

.tag-outline {
  border: 1px solid var(--accent);
  color: var(--text-main);
}

/* Tables */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.tech-table th {
  text-align: left;
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.tech-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.tech-subcard {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem;
}

.tech-subcard h4 {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.notes-box {
  border-left: 3px solid var(--accent);
  background: rgba(139, 0, 0, 0.08);
  padding: 1.2rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin-top: 1rem;
}

.notes-box div {
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.notes-box div:last-child {
  margin-bottom: 0;
}

.notes-box strong {
  color: #ffffff;
}

/* Tracklist en liste verticale */
.tech-tracklist {
  list-style: decimal outside;
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  border-top: 1px solid var(--border);
}

.tech-tracklist li {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: background-color 0.2s ease;
}

.tech-tracklist li:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Mobile responsive pour l'album */
@media (max-width: 600px) {
  .album-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .album-cover {
    width: 180px;
    height: 180px;
  }
  .album-tracklist-wrapper {
    width: 100%;
  }
}

/* Plan de Scène Fige (Fixe quel que soit l'écran) */
.stage-layout {
  background: #000000;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  margin-top: 1.5rem;
  overflow-x: auto;
}

.stage-header, .stage-footer {
  text-align: center;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.stage-table {
  width: 100%;
  min-width: 480px;
  border-collapse: separate;
  border-spacing: 10px;
  margin: 1rem 0;
  table-layout: fixed;
}

.stage-cell {
  width: 33.33%;
  vertical-align: middle;
}

.stage-cell-empty {
  width: 33.33%;
}

.stage-cell-center-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stage-cell-split {
  display: table-cell;
  width: 33.33%;
  vertical-align: middle;
}

.stage-cell-split .stage-inner-box {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}

.stage-box-neutral {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.8rem 0.4rem;
  text-align: center;
}

.stage-box-highlight {
  background: rgba(139, 0, 0, 0.2);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 0.8rem 0.4rem;
  text-align: center;
}

.stage-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
}

.stage-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ==========================================
   Styles spécifiques : Store / Boutique
   ========================================== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #000000;
  display: block;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 15px;
}

.btn-add {
  width: 100%;
  padding: 12px;
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font-body);
}

.btn-add:hover {
  background-color: var(--accent-hover);
}

.cart-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.cart-section h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  color: var(--text-main);
}

.cart-items {
  list-style: none;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-weight: 700;
  color: var(--text-main);
}

.cart-item-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-remove {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
}

.cart-summary {
  margin-top: 20px;
  font-size: 1.1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-main);
}

.summary-row.total {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 10px;
}

#paypal-button-container {
  margin-top: 25px;
}

.empty-cart-msg {
  color: var(--text-muted);
  text-align: center;
  padding: 20px 0;
}


/* Footer */
footer { background: #050507; border-top: 1px solid var(--border); padding: 2rem; text-align: center; color: var(--footcol); font-size: 0.9rem; width: 100%; }

/* Mobile */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .nav-container { flex-direction: column; gap: 0.5rem; padding: 0.6rem 1rem; }
  .brand-logo { height: 50px; }
  .nav-links { display: flex !important; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
  .nav-links a { font-size: 0.75rem; letter-spacing: 0.5px; }
  body.page-music footer { margin-bottom: 110px; }
}