:root {
  --greyblack: #000;
  --mentos: #bdc6e3;
  --violine: #70c6e3;
  --black: #000;
  --cookie: #7f724f;
  --soblue: #c7faff;
  --blanco: #fff;
  --backgroundSize: 295px;
}
body {
  background-color: var(--greyblack);
  margin: 0;
  padding: 0;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
}
html {
  /*  scroll-behavior: smooth;
    scroll-snap-type: y mandatory;*/
  height: 100vh;
}
section {
  /*  scroll-snap-align: start;
  scroll-snap-stop: always;*/
}
#entete {
  position: fixed;
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 0 0 40px;
  background-color: rgba(0, 0, 0, 1.00);
  z-index: 1;
}
#entete p {
  font-size: 14px;
  color: var(--blanco);
  margin: 0 0 0 15px;
  cursor: pointer;
}
#backgrounds {
  height: 100vh;
  z-index: 2;
  background-image: url("../images/SVG/logoblanc.svg"), url("images/pattern2.jpg");
  background-size: 20%, var(--backgroundSize);
  background-repeat: no-repeat, repeat;
  animation: movingBackground 5s linear infinite;
}
#vagueback {
  display: block;
  position: absolute;
  right: 0;
  top: 79px;
  width: 10%;
  height: inherit;
}
#back {
  opacity: 0;
}
#section1 {
  padding-top: 0;
  position: sticky;
  top: 0;
}
.contenu {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  margin: auto;
}
.contenuXL {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: calc(100% - 200px);
  display: flex;
}
.contenuXLB {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
}
.contenuL {
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 0 0;
  min-width: 200px;
  background-color: #000;
}
.titleblocA, .titleblocB, .itembloc {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.titleblocA, .titleblocB {
  padding: 20px 40px;
  margin: 10px 0;
}
.titleblocA p, .titleblocB p {
  margin: 0;
  padding: 0;
}
.itembloc {
  padding: 0 0 0 40px;
}
.itembloc p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0 0 0;
  margin: 0 20px 0 0;
  height: 30px;
  line-height: 40px;
}
.titre, .titre2, .nom {
  background-color: none;
  transition: color 500ms ease;
  width: calc(40% - 40px);
}
.ville, .web {
  background-color: none;
  transition: color 500ms ease;
  width: 20%;
}
.lieu, .bc {
  background-color: none;
  transition: color 500ms ease;
  width: 25%;
}
.date, .rs {
  background-color: none;
  transition: color 500ms ease;
  width: 8%;
}
.nom:hover, .rs:hover, .bc:hover, .web:hover {
  /* color: var(--violine); */
}
.nom {
  cursor: pointer;
}
.itembloc {
  color: var(--blanco);
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid #555;
}
.bonus {
  display: none;
}
.titleblocA, .titleblocB {
  min-height: 40px;
  font-weight: 300;
  font-size: 20px;
  color: var(--blanco);
  text-transform: capitalize;
}
#events {
  padding-bottom: 0;
  border-bottom: none;
}
#logo {
  aspect-ratio: 1 / 1;
  /*min-height: 100px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
#logo img {
  width: 80%;
}
#qui {
  background: var(--violine);
  padding: 0;
  align-items: center;
  justify-content: center;
}
#events, #lecteur {
  display: table-cell;
}
#lecteur {
  color: var(--mentos);
  height: 100%;
  vertical-align: top;
  background-image: url("../images/pattern2.jpg");
  background-size: var(--backgroundSize);
  animation: movingBackground2 5s linear infinite;
}
#section2 {
  display: table !important;
}
#rubrik {
  box-sizing: border-box;
  display: block;
  overflow: hidden;
  width: 0;
  background-color: var(--black);
  color: var(--blanco)
}
#rubrik p {
  box-sizing: border-box;
  padding-left: 20px;
  text-transform: uppercase;
  font-size: 14px;
}
/* TICKER */
.ticker-wrap {
  width: 100%;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: normal;
  font-size: 60px;
  text-transform: uppercase;
  color: var(--greyblack);
}
.ticker {
  display: inline-block;
  margin-top: 5px;
  animation: marquee 20s linear infinite;
}
.item-collection-1 {
  position: relative;
  left: 0%;
  animation: swap 20s linear infinite;
}
/* TABLEAUX*/
table {
  table-layout: fixed;
  border: 0;
  width: 75%;
}
tr {
  background-color: var(--blanco);
  color: var(--black);
  height: 40px;
  border: none;
}
td {
  height: 40px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 0;
  text-align: left;
  padding: 0 0 0 40px;
}
.Lmenthe {
  background-color: var(--mentos);
}
.Lviolette {
  background-color: var(--violine);
}
/* qui sommes nous /////////////////////////////////////// */
#section3 {
  background-color: #fff;
  color: var(--black);
  padding: 40px;
  min-height: 100vh;
  border-bottom: 1px dotted #DFE9FF;
}
.text {
  width: 50%;
  margin: auto;
  text-transform: uppercase;
}
.text img {
  width: 100%;
}
/* artistes /////////////////////////////////////// */
#section4 {
  min-height: 100vh;
  background-color: #000;
  color: #fff;
  padding: 120px 0 0 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
}
#section4 div {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  width: calc(50% - 40px);
  min-height: 512px;
  margin: 0 20px 20px 0;
  text-transform: uppercase;
}
#section4 h1, #section4 p {
  margin: 0;
  padding: 20px;
}
#section4 div img {
  width: 20%;
  float: left;
  padding: 0 30px 30px 0;
}
/* moodboard /////////////////////////////////////// */
#section5 .anim {
  background-image: url("../images/pattern2.jpg");
  background-size: var(--backgroundSize);
  animation: movingBackground2 5s linear infinite;
}
.blackmood {
  color: #fff;
  background-color: #000;
}
.whitemood {
  color: #000;
  background-color: #DFE9FF;
}
.bluemood {
  color: #000;
  background-color: var(--violine);
}
.greymood {
  color: #DFE9FF;
  background-color: #15121a;
}
.uvmood {
  color: #DFE9FF;
  background-color: #0f0037;
}
.yellowmood {
  color: #000;
  background-color: #ebc550;
}
.top {
  cursor: pointer;
}
/* footer /////////////////////////////////////// */
#section6 {
  background-color: #000;
  color: #DFE9FF;
  height: 80px;
  margin: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* copyright à gauche, flèche à droite */
}
#section6 p {
  margin: 0;
}
/* formulaire  /////////////////////////////////////// */
#formulaire {
  margin: 0;
  padding: 40px;
  background-color: #70c6e3;
}
#formulaire h1 {
  margin: 0;
  padding: 0 0 20px 0;
  text-transform: uppercase;
}
.my-form {
  margin: 0;
  color: #000;
  padding: 0 0 0 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
  min-width: 200px;
  min-height: 60px;
}
.label-text {
  display: block;
  padding: 0;
  margin: 0;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 700;
}
input {
  display: block;
  height: 30px;
  max-width: 600px;
  min-width: 50px;
  background-color: #70c6e3;
  border: 1px #000 solid;
  margin-right: 10px;
  outline: none;
  margin-bottom: 10px;
}
input:focus {
  border: 1px #000 solid;
}
.submit-btn {
  background-color: #000;
  padding: 5px 5px;
  height: 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: #fff;
  border: none;
  min-width: 50px;
  cursor: pointer;
  margin-top: 5px;
  transition: 0.3s;
}
.submit-btn:hover {
  background-color: #fff;
  color: #000;
  border: none;
}
/* Transition /////////////////////////////////////// */
@keyframes movingBackground {
  from {
    background-position: center, 0 0;
  }
  to {
    background-position: center, var(--backgroundSize) var(--backgroundSize);
  }
}
@keyframes movingBackground2 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: var(--backgroundSize) var(--backgroundSize);
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-100%)
  }
}
@keyframes swap {
  0%, 50% {
    left: 0%;
  }
  50.01%, 100% {
    left: 100%;
  }
}
/* GESTION DE SCROLL */
/* resize /////////////////////////////////////// */
@media screen and (min-width: 600px) {
  #petitmenu, #rubrik {
    display: none;
  }
  #qui {
    width: calc(100% - 200px) !important;
  }
}
@media screen and (max-width: 600px) {
  .bonus {
    display: block;
  }
  .pc {
    display: none;
  }
  #entete {
    display: none;
  }
  #section1 {
    padding-top: 0;
  }
  #logo, #qui {
    background-image: none;
  }
  .contenuL {
    min-width: 150px;
  }
  .contenuXL {
    width: calc(100%-150px);
  }
  #qui {
    width: calc(100% - 150px) !important;
  }
  .ticker-wrap {
    font-size: 20px;
  }
  #shows {
    background-image: none;
  }
  .titleblocA, .titleblocB {
    padding: 20px 20px;
    margin: 10px 0;
  }
  .itembloc {
    padding: 0 0 0 20px;
  }
  .itembloc p {
    width: calc(100% - 20px);
  }
  .lieu, .ville, .rs, .bc, .web {
    display: none;
  }
  .my-form {
    justify-content: flex-start;
  }
  .titre {
    width: calc(60%-40px) !important;
    font-weight: 300 !important;
  }
  .date {
    width: 30% !important;
  }
}
@media screen and (max-width: 1280px) {}
@media screen and (max-width: 900px) {
  #events {
    width: 100% !important;
  }
  #lecteur {
    display: none;
  }
  #intro {
    display: none;
  }
  section {
    /* scroll-snap-align: start;
    scroll-snap-stop: normal;*/
  }
  .text {
    width: 100%;
  }
  #section4 div {
    width: calc(100% - 40px);
    margin: 0 0 20px 0;
  }
}
/* LES LIENS */
a {
  transition: 1s;
}
#section4 a {
  color: inherit;
}
#section4 a:link {
  color: inherit;
  text-decoration: none;
  /*  background-color: #000;*/
}
#section4 a:visited {
  text-decoration: none;
  /*  background-color: #000;*/
}
#section4 a:active {
  text-decoration: none;
}
#rubrik a:link {
  color: var(--blanco);
  text-decoration: none;
  /*  background-color: #000;*/
}
#rubrik a:visited {
  color: var(--blanco);
  text-decoration: none;
  /*  background-color: #000;*/
}
#rubrik a:hover {
  color: var(--mentos);
  text-decoration: none;
}
#rubrik a:active {
  color: var(--blanco);
  text-decoration: none;
}
#entete a:link {
  color: var(--blanco);
  text-decoration: none;
  /*  background-color: #000;*/
}
#entete a:visited {
  color: var(--blanco);
  text-decoration: none;
  /*  background-color: #000;*/
}
#entete a:hover {
  color: var(--blanco);
  text-decoration: none;
}
/* selected link */
#entete a:active {
  color: var(--blanco);
  text-decoration: none;
}
#section2 a:link {
  color: var(--greyblack);
  text-decoration: none;
}
#section2 a:visited {
  color: var(--greyblack);
  text-decoration: none;
  /*  background-color: #000;*/
}
#section2 a:hover {
  color: var(--greyblack) !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}
/* selected link */
#section2 a:active {
  color: var(--greyblack);
  text-decoration: none;
}
/* MOODBOARD preload + fade */
#section5 .pic {
  opacity: 0;
  transition: opacity 1s ease;
  background-image: url("../images/pattern2.jpg");
  background-size: var(--backgroundSize);
}
#section5 .pic.loaded {
  opacity: 1;
}
/* MOODBOARD hover overlay */
.mood-link {
  position: relative;
  display: block;
  line-height: 0;
}
.mood-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  font-size: 16px;
  background-color: rgba(112, 198, 227, 1);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}
.mood-link:hover .mood-overlay {
  opacity: 1;
}
/* --- MOODBOARD : textes des blocs --- */
#section5 .blackmood, #section5 .bluemood {
  container-type: inline-size; /* le texte se cale sur la largeur du bloc */
}
#section5 .blackmood h1, #section5 .bluemood h1 {
  margin: 0;
  padding: 8%;
  line-height: 1.1; /* annule le line-height: 0 de #section5 */
  font-size: 28px; /* valeur de secours (anciens navigateurs) */
  font-size: clamp(14px, 11cqi, 40px);
  text-align: center;
  overflow-wrap: break-word;
  hyphens: auto;
}
/* Texte "Voir →" au survol des images */
.mood-overlay {
  line-height: 1.3;
  padding: 0 10%;
  text-align: center;
}
/* --- MOODBOARD : couleurs du survol (choisies dans l'admin) --- */
.mood-overlay.ov-violine {
  background-color: color-mix(in srgb, var(--violine) 95%, transparent);
  color: var(--black);
}
.mood-overlay.ov-mentos {
  background-color: color-mix(in srgb, var(--mentos) 95%, transparent);
  color: var(--black);
}
.mood-overlay.ov-soblue {
  background-color: color-mix(in srgb, var(--soblue) 95%, transparent);
  color: var(--black);
}
.mood-overlay.ov-cookie {
  background-color: color-mix(in srgb, var(--cookie) 95%, transparent);
  color: var(--black);
}
.mood-overlay.ov-blanco {
  background-color: color-mix(in srgb, var(--blanco) 95%, transparent);
  color: var(--black);
}
.mood-overlay.ov-black {
  background-color: color-mix(in srgb, var(--black) 95%, transparent);
  color: var(--blanco);
}
/* --- Flèche "remonter" (SVG fin) --- */
.arrow-up {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  color: inherit; /* prend la couleur du footer */
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.arrow-up:hover {
  opacity: 0.5;
}
.arrow-up svg {
  display: block;
}
/* ==========================================================
   MOODBOARD EN GRILLE (remplace les colonnes CSS)
   ========================================================== */
#section5 {
  --mood-cols: 5; /* nombre de colonnes */
  --mood-gap: 20px; /* espace entre les vignettes */
  display: grid;
  grid-template-columns: repeat(var(--mood-cols), minmax(0, 1fr));
  grid-auto-flow: row dense; /* bouche les trous laissés par les doubles largeurs */
  gap: var(--mood-gap);
  align-items: start;
  padding: 40px;
  min-height: 100vh;
  background-color: #000;
}
/* Une case de la grille */
.mood-item {
  position: relative;
  min-width: 0;
}
/* Image en double largeur */
.mood-large {
  grid-column: span 2;
}
/* Images : toute la largeur de la case, sans espace dessous */
#section5 .pic {
  display: block;
  width: 100%;
  height: auto;
}
/* Blocs noirs / bleus / animés */
.mood-bloc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4; /* hauteur = 0,75 × largeur */
  overflow: hidden; /* sécurité si un texte est trop long */
}
.mood-bloc img {
  width: 50%;
}
/* Nombre de colonnes selon la largeur de l'écran */
@media screen and (max-width: 1400px) {
  #section5 {
    --mood-cols: 4;
  }
}
@media screen and (max-width: 1100px) {
  #section5 {
    --mood-cols: 3;
  }
}
@media screen and (max-width: 800px) {
  #section5 {
    --mood-cols: 2;
  }
}
@media screen and (max-width: 600px) {
  #section5 {
    --mood-cols: 1;
    padding: 40px 20px;
  }
  .mood-large {
    grid-column: span 1; /* une seule colonne : pleine largeur */
  }
}
/* --- Moodboard : mode masonry (activé par ladigue.js) --- */
#section5.is-masonry {
  display: block;
  position: relative;
}
#section5.is-masonry .mood-item {
  position: absolute;
}
/* --- Moodboard : titre au même rythme que les autres rubriques --- */
#moodboard #section5 {
  padding-top: 0; /* les vignettes suivent le titre directement, comme sous "Merch" */
}