/* ========================================================= */
/* =============== VARIABLES GLOBALES & RESET =============== */
/* ========================================================= */

:root {
  --maincolor: #faebcd;
  --policetitle: "Instrument Serif", serif;
  --policesecondtiltle: "Inria Serif", serif;
  --policetext:"Instrument Sans", sans-serif;
  --colortextbg: #4b4b4b;
  --colorlight: #eeb138;
  --colorsombre : #222;
}

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

/* ========================================================= */
/* ========================= GLOBAL ========================= */
/* ========================================================= */

/* Body : gradient + texture BG */
body {
  background: radial-gradient(circle at top, #1b1b1f 0, #050507 60%, #000 100%);
  color: #f6f1e8;
  margin: 0;
  padding: 0;
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-image: url('../img/background.jpg'); /* L’image est recouverte par le gradient */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
}




/* ========================================================= */
/* ======================== BANNIÈRE ======================== */
/* ========================================================= */

.banniere {
  font-family: var(--policetitle);
  color: var(--colorlight);
  width: 100%;
  background-color:var(--colorsombre);
  text-align: center;
  font-size: 4rem;
  padding: 6px;
  z-index: 20;
}

.banniere hr{
  background-color: var(--colorlight);
  height: 2px;
  border: none;
  width: 20%;
  margin: auto;
  margin-bottom: 30px;
}

.banniere h2{
  color: var(--colorlight);
  margin: auto;
  margin-top: 20px;
}

.banniere p{
  font-size: 1.5rem;
  font-family: var(--policetext);
  color: var(--maincolor);
}

.banniereposition {
  position: absolute;
  bottom: 20px;
}

/* ========================================================= */
/* ===================== DATA CONTAINER ===================== */
/* ========================================================= */

.datacontainer{
  background-color: var(--colorsombre);
  margin-bottom: 30px;
}

.datacontainer #info{
  font-size: 0.8rem;
  text-align: center;
  padding: 15px;
}

.titleGraphique p{
  margin: auto;
  text-align: center;
  font-size: 1.5rem;
  font-family: var(--policetext);
  color: var(--colorsombre);
}

/* ========================================================= */
/* ========================== AUDIO ========================== */
/* ========================================================= */

.left{
  display: flex;
  flex-direction: column;
  position: relative;
}

audio {
  margin-top: 20px;
  width: 100%;
  max-width: 300px;
  outline: none;
  border-radius: 8px;
}

/* ========================================================= */
/* ========================== TITRES ======================== */
/* ========================================================= */

h1 {
  font-family: var(--policetitle);
  font-weight: 400;
  font-style: normal;
  font-size: 9rem;
  color:white;
  text-shadow: 2px 2px 4px #000;
  margin-left: 20px;
  text-align: center;
}

h2 {
  font-family: var(--policetitle);
  font-weight: 400;
  color: var(--colortextbg);
  max-width: 800px;
  font-size: 4.3rem;
  text-align: center;
  margin: auto;
  margin-top: 40px;
}

/* ========================================================= */
/* ===================== CARTES EXPLICATION ================= */
/* ========================================================= */



/* ========================================================= */
/* ========================= GENRES ========================= */
/* ========================================================= */

.svg-genre-btn {
  cursor: pointer;
  margin-top: 20px;
}
.svg-genre-btn:focus {
  outline: none;
}

.infosgenres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 28px 20px;
}


.infosgenres div {
  background:
    radial-gradient(circle at top left, rgba(238, 177, 56, 0.12) 0%, transparent 55%),
    rgba(8, 8, 12, 0.92);
  padding: 18px 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(238, 177, 56, 0.25);
  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px);
}

.infosgenres h3 {
  margin: 0;
  padding: 8px 14px;
  font-size: 1.3rem;
  font-family: var(--policetitle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--maincolor);
  border-bottom: 1px solid rgba(238, 177, 56, 0.4);
}



/* ========================================================= */
/* ===================== BLOC NOMBRE MUSIQUE ================ */
/* ========================================================= */

.nombremusique{
  height: 350px;
  background-color: var(--colorsombre);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nombremusique > div h2,
.nombremusique > div p {
  color: #ccc;
  text-align: center;
}

.nombremusique > div a{
  color: white;
}

/* ========================================================= */
/* =================== LISTE D'ARTISTES ====================== */
/* ========================================================= */

.artistexemple {
  background-color: transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: stretch;
  margin-top: 26px;
}

/* Carte artiste */
.artist {
  display: flex;
  gap: 22px;
  background: rgba(8, 8, 12, 0.96);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(238, 177, 56, 0.28);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

/* Image artiste (petite) */
.artist img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Animation d’apparition */
.fade-in-up-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Marges spécifiques aux cartes */
.artist:first-child{
  margin-top: 50px;
}

.artist:last-child{
  margin-bottom: 50px;
}

/* Image artiste (grande) — réécrase la première */
.artist img{
  width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
}

/* Texte sous les artistes */
.text {
  color: var(--maincolor);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.maincolor{
  color:var(--maincolor)
}

/* Paragraphes explicatifs */
.para{
  color: var(--colortextbg);
  padding: 30px;
  border-radius: 10px;
  margin-top: 10px;
  width: 70%;
  font-size: 1.5rem;
}

/* Conteneur barre (graphique/timeline) */
.barre-content{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Titres généraux */
h3{
  font-size: 3.5rem;
  color: var(--maincolor);
  font-family: var(--policetitle);
}

.card h3{
  font-size: 2.2rem;
}


/* ========================================================= */
/* ========================= PODIUM ========================= */
/* ========================================================= */

.podium {
  width: 100%;
}

.podium svg{
  width: 100%;
  position: relative;
}

/* Positions des médailles */
.gold{
  left: 47.5%; 
  top: 40%;
}

.silver{
  left: 26.75%; 
  top: 76%;
}

.bronze{
  right: 10%;
  top: 70%;
}

.podium p{
  margin: 0;
  font-size: clamp(12px, 1.5vw, 20px);
  text-align: center;
}

/* Ombres décoratives */
.ombre {
  position: absolute;
  height: 310px;
}

.ombre1 {
  bottom: 0;
  left: 0;
  transform: scaleX(-1);
}

.ombre2 {
  bottom: 0;
  right: 0;
}

/* ========================================================= */
/* =================== FORM SELECT ================ */
/* ========================================================= */

label {
  font-weight: bold;
}

select {
  margin-left: 10px;
  padding: 5px;
}

/* ========================================================= */
/* ======================= FOOTER AMÉLIORÉ ================== */
/* ========================================================= */

 /* ====== FOOTER AMÉLIORÉ ====== */
footer {
  background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  color: #f4e3b2;
  font-family: var(--policetext);
  padding: 60px 40px 45px; /* ← légèrement augmenté ici */
  position: relative;
  overflow: hidden;
  box-shadow: 0 -2px 15px rgba(255, 204, 0, 0.2);
}

footer::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(238, 177, 56, 0.1), transparent 60%);
  animation: footer-glow 10s infinite alternate ease-in-out;
}

@keyframes footer-glow {
  from { transform: translateX(-10%) rotate(0deg); }
  to { transform: translateX(10%) rotate(5deg); }
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  z-index: 2;
  position: relative;
  padding-top: 30px;
  padding-bottom: 20px;
  margin-bottom: 250px;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 230px;
}

.footer-column h4 {
  font-family: var(--policetitle);
  color: var(--colorlight);
  margin-bottom: 15px;
  margin-top: 15px;
  font-size: 1.6rem;
  position: relative;
  
}

.footer-column h4::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--colorlight);
  margin-top: 8px;
  border-radius: 5px;
}

.footer-column p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-column ul li {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
  list-style: none;
  margin: 0px;
}

.footer-column ul{
  padding: 0px;
}

/* ===== MENU DÉROULANT (vers le bas) ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  color: var(--colorlight);
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.dropdown-toggle:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--colorlight);
}

footer a{

  color: #eee
}

/* ↓ maintenant vers le bas */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 115%; /* ← direction vers le bas */
  left: 0;
  background-color: #222;
  min-width: 340px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 15px;
  z-index: 20;
  max-height: 300px;
  overflow-y: auto;
  animation: dropdown-down 0.3s ease forwards;
  margin-top :  15px;
}

@keyframes dropdown-down {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu p {
  color: #eee;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
  font-size: 14px;
}

.dropdown-menu p:last-child {
  border-bottom: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #bbb;
}


/* ========================================================= */
/* =================== SECTION VINYL TO VIRAL =============== */
/* ========================================================= */
/* — À partir d’ici : ton bloc spécial "ZGA" intact — */

.hero-vinyl {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  
  
}



/* ========================================================= */
/* ======================== DISQUE ========================== */
/* JARRIVE PAS LE RESPONSIVE A L'AIDE LOHANNN */

.hero-vinyl-disc-wrapper {
  position: absolute;
  top: -80px; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-vinyl-disc {
  width: 22vw;
  max-width: 190px;
  min-width: 110px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.9));
  animation: spin-vinyl 9s linear infinite;
  transform-origin: center center;
}



@keyframes spin-vinyl {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ========================================================= */
/* ===================== BILLET / CONTENU =================== */
/* ========================================================= */

.hero-vinyl-content {
  position: relative;
  
  text-align: center;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}



.hero-ticket {
  width: 95%;
  max-width: 920px;
  border-radius: 16px;
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(234, 181, 90, 0.5);
  transform: translateY(10px);
}

.hero-ticket--large {
  transform: translateY(18px);
}

/* CTA flèche */
.hero-cta-circle {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(8, 8, 8, 0.85);
  background: radial-gradient(circle at 30% 0%, rgba(238, 177, 56, 0.35), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: #000;
}

.hero-cta-circle:hover {
  transform: translateX(-50%) translateY(-2px);
 
  border-color: rgba(248, 245, 240, 1);
}

.hero-cta-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: #070707;
}

/* Adaptation tablette */
@media (max-width: 820px) {



  .hero-ticket {
    width: 100%;
    max-width: 100%;
    border-radius: 0px;
     box-shadow: none;
     margin: 0;
  }


}

/* Adaptation tablette */
@media (max-width: 774px) {

  .hero-cta-circle {
    display: none;
  }
}
/* ========================================================= */
/* ================== CARTES D’EXPLICATION ================= */
/* ========================================================= */

.explication-container {
  position: relative;
  max-width: 1100px;
  margin: 80px auto;
  padding: 40px 32px;
  background: radial-gradient(circle at top left, rgba(238, 177, 56, 0.12) 0, transparent 55%), rgba(12, 12, 16, 0.92);
  border-radius: 22px;
  border: 1px solid rgba(238, 177, 56, 0.35);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;

  
}

/* Petit trait vertical décoratif */
.explication-container::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(238, 177, 56, 0.8));
}

/* Le premier bloc n'a pas le trait */
.explication-container:first-of-type::before {
  display: none;
}

.explication-container h2 {
  font-family: var(--policetitle);

  font-size: 4.3rem;
  margin-bottom: 18px;
  color: #f7e3b8;
  width: 100%;
}

/* Texte interne des cartes */
.explication-container .para {
  font-size: 1.20rem;
  line-height: 1.5;
  color: #f1e8dd;
}

/* ========================================================= */
/* =============== BLOC COMPTEUR DE MUSIQUES =============== */
/* ========================================================= */

.nombremusique {
  max-width: 1100px;
  margin: 40px auto 20px;
  padding: 26px 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(238, 177, 56, 0.18), rgba(12, 12, 16, 0.95));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

.nombremusique h2 {
  font-family: var(--policetitle);
  font-size: 3.2rem;
  letter-spacing: 0.25em;
  text-align: center;
  color: #f9e7c0;
}

.nombremusique p {
  text-align: center;
  margin-top: 8px;
  font-size: 1.2rem;
  color: #f1e8dd;
}

/* ========================================================= */
/* ============ BLOC DATA (GRAPHIQUE + PODIUM) ============= */
/* ========================================================= */

.datacontainer {
  max-width: 1100px;
  margin: 70px auto 90px;
  padding: 32px 30px 40px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(234, 181, 90, 0.18) 0, rgba(10, 10, 14, 0.98) 40%);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

/* Effet décoratif lumineux dans le fond */
.datacontainer::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.04) 0, transparent 55%);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ========================================================= */
/* =========== BANNIÈRE SPÉCIFIQUE POUR LE DATA ============ */
/* ========================================================= */

.bannieredata {
  background: transparent;
  box-shadow: none;
}




.bannieredata h2 {
  font-family: var(--policetitle);
  font-size: 4.3rem;
  color: var(--colortextbg)
}

.bannieredata p {
  margin-top: 8px;
  font-size: 1.5rem;
  color: #000000;
}

.bannieredata .beige{

  color: var(--maincolor);
}

.banniere .black{

  color: #000;
  text-shadow: var(--maincolor) 2px 2px 15px;
}


@media (max-width: 769px) {
  .infosgenres {
    grid-template-columns: repeat(2, 1fr);
  }

  .barre-content {
    flex-direction: column;
  }

  canva{

    width: 100% !important;
  }

  
}


@media (max-width: 550px) {
  .infosgenres {
    grid-template-columns: repeat(1, 1fr);
  }

  .barre-content {
    flex-direction: column;
  }

}


@media (max-width: 650px) {


  .artist{

  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.artist .right{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 
}



  
}

@media (max-width: 780px) {
  body{

    background-image: none;
    background-color: var(--maincolor);
  }

  .hero-vinyl-disc-wrapper{
    display: none;
  }

  .hero-vinyl{

    min-height: auto;
    padding: 0px;

  }

  .controls{

    flex-direction: column;
    width: fit-content;
    margin: auto;
  }

  h2{

    font-size: 2rem;
    margin: 5px;
    margin-top: 25px;
  }

  .titleGraphique p{

    font-size: 1rem;
  }

 

  .explication-container {

    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 0px;
  }

  .explication-container h2 {
  font-family: var(--policetitle);
 margin: 6px;
  font-size: 2.3rem;
  
  color: #f7e3b8;
  width: 100%;
}

  .explication-container .para {
 margin: 6px;
  font-size: 1rem;
  margin-bottom: 15px;
  padding: 0px;
  width: 100%;
}
.nombremusique{

  margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 0px;
}


.datacontainer{

  margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 0px;
    padding: 0;
    box-shadow: none;
    background-color: #000;
}

.bannieredata .titre3{

  font-size: 2.3rem;
}

.bannieredata .black{

  font-size: 2.3rem;
  color: var(--colorlight);
}

.bannieredata p{

  font-size: 1rem;
}

}





