/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow-x: hidden;
}

/* Animations au scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Animation pour les éléments venant de la gauche */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animation pour les éléments venant de la droite */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

main{
  width: 100%;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 10px 0px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
    
header img {
  max-width: 100%;
  height: 60px;
  margin-left: 20px;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-right: 20px;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #0066ff;
}

/* Menu Burger (caché par défaut sur desktop) */
.burger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-right: 20px;
  z-index: 1001;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: #444;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Animation du burger en X */
.burger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.hero {
  width: 100%;
  height: calc(100vh - 80px);
  
  /* --- CHANGEMENT ICI --- */
  /* On superpose un dégradé noir sur l'image */
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2), /* En haut : peu opaque (20%) pour garder la clarté */
      rgba(0, 0, 0, 0.7)  /* En bas : très opaque (70%) pour faire ressortir le texte */
    ),
    url("../images/hero.webp") center/cover no-repeat;
  /* ---------------------- */

  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  color: white;
}

.cta {
  background: linear-gradient(90deg, #0066ff 0%, #9b35ff 50%, #ff6600 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 20px;
  display: inline-block;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 600;
  color: white;
  line-height: 1.6;
  
  /* Mise en page simple */
  max-width: 1000px;
  margin: 40px auto; /* Marge réduite pour rester groupé */
  
  /* --- CHANGEMENT ICI --- */
  /* Plus de background ni de border. Juste une ombre forte sur les lettres */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); 
}

.hero p {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  line-height: 1.6;
  
  /* Mise en page simple */
  max-width: 1000px;
  margin: 40px auto; /* Marge réduite pour rester groupé */
  
  /* --- CHANGEMENT ICI --- */
  /* Plus de background ni de border. Juste une ombre forte sur les lettres */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); 
}

#countdown {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}

/* Dégradé continu partagé entre les blocs */
.count-block {
  padding: 20px 30px;
  border-radius: 25px;
  min-width: 140px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #0066ff 0%, #9b35ff 50%, #ff6600 100%);
  background-size: 400% 100%; /* 4 blocs = 400% */
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.count-block:nth-child(1) {
  background-position: 0% 0%;
}

.count-block:nth-child(2) {
  background-position: 33% 0%;
}

.count-block:nth-child(3) {
  background-position: 66% 0%;
}

.count-block:nth-child(4) {
  background-position: 100% 0%;
}

.count-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}

.count-label {
  font-size: 0.9rem;
  opacity: 0.9;
  color: #fff;
}


/* --- RESPONSIVE HEADER & HERO --- */
@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }

  header img {
    height: 50px;
    margin-left: 15px;
  }

  .burger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    gap: 0;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: left;
  }

  .nav-menu a.cta {
    margin-top: 20px;
    text-align: center;
    border: none;
  }

  /* Hero responsive */
  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin: 20px auto;
  }

  .hero p {
    font-size: 1.1rem;
    margin: 20px;
  }

  /* Countdown responsive */
  #countdown {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
  }

  .count-block {
    min-width: 120px;
    padding: 15px 20px;
  }

  .count-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta {
    font-size: 1rem;
    padding: 12px 18px;
  }

  #countdown {
    gap: 10px;
  }

  .count-block {
    min-width: calc(50% - 35px);
    padding: 12px 15px;
  }

  .count-number {
    font-size: 1.5rem;
  }

  .count-label {
    font-size: 0.8rem;
  }
}

/* --- SECTION CONCEPT (DESKTOP FIRST) --- */

/* 1. STYLE PAR DÉFAUT (GRANDS ÉCRANS) : CÔTE À CÔTE */
.concept {
  padding-top: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Chaque bloc (Texte + Image) est une ligne Flex par défaut */
.concept-block {
  display: flex;
  flex-direction: row; /* Desktop: Texte et image côte à côte */
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

/* Inverse l'ordre pour les blocs marqués .reverse (Image à gauche, Texte à droite) */
.concept-block.reverse {
  flex-direction: row-reverse;
}

/* Conteneur de Texte */
.concept-text {
  flex: 1; /* Prend une part de l'espace */
  text-align: left; /* Aligné à gauche par défaut (Desktop) */
  padding: 20px 0;
}

.concept-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #0066ff 0%, #9b35ff 50%, #ff6600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.concept-text p {
  color: #555;
  line-height: 1.7;
}

/* Conteneur de l'Image */
.concept-image {
  flex: 1; /* Prend une part de l'espace */
  width: auto;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.concept-image img {
  display: block;
  width: 100%;
  height: auto;
}


/* --- MEDIA QUERY : ADAPTATION VERS LE MOBILE (MAX-WIDTH) --- */

@media (max-width: 991px) { /* Pour les tablettes et mobiles */
  .concept {
    padding: 40px 20px;
  }

  .concept-block {
    flex-direction: column; /* Mobile : Image sous le texte (empilé) */
    align-items: center; /* Centre les éléments */
    gap: 20px;
    margin-bottom: 40px;
  }

  /* On annule l'inversion pour les mobiles : tout est en colonne */
  .concept-block.reverse {
    flex-direction: column;
  }

  .concept-text {
    width: 90%; /* Limite la largeur du texte pour la lecture */
    text-align: center; /* Centre le texte sur mobile */
    padding: 0;
  }

  .concept-text h2 {
    font-size: 1.8rem;
  }

  .concept-text p {
    font-size: 1rem;
  }

  .concept-image {
    width: 90%; /* Limite la largeur de l'image */
  }
}

@media (max-width: 576px) {
  .concept {
    padding: 30px 15px;
  }

  .concept-text h2 {
    font-size: 1.5rem;
  }

  .concept-block {
    margin-bottom: 30px;
  }
}

/* --- SECTION COURSES --- */
.courses {
    padding: 16px 0;
    text-align: center;
    background-color: #f4f4f9; /* Fond léger pour séparer la section */
}

.courses h2 {
  margin-bottom: 50px;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #0066ff 0%, #9b35ff 50%, #ff6600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.course-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. STYLE PAR DÉFAUT (GRANDS ÉCRANS) : CÔTE À CÔTE */

.course-detail {
    display: flex;
    flex-direction: row; /* Desktop First: Texte à gauche, Média à droite par défaut */
    gap: 40px;
    margin-bottom: 80px;
    align-items: stretch; /* Assure que les colonnes ont la même hauteur */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.course-detail.reverse {
    flex-direction: row-reverse; /* Image à gauche, Texte à droite */
}

.course-text-content {
    flex: 1; /* Prend 50% de l'espace */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pour pousser le bouton en bas */
}

.course-text-content h3 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #0066ff 0%, #9b35ff 50%, #ff6600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.course-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-media {
    flex: 1; /* Prend 50% de l'espace */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Conteneur de Vidéo (Responsive 16:9) */
.video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Style du Bloc d'Information (Réutilisé de la modale) --- */
.inforun {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 15px;
    border-left: 5px solid #6B3CFF;
    margin-bottom: 20px;
}

.inforun h4 {
    margin: 0 0 15px 0;
    color: #333;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    font-weight: 700;
}

.inforun ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inforun li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 4px;
}

.inforun li:last-child {
  border-bottom: none;
  margin-bottom: 20px;
}

.inforun li strong {
    color: #222;
    font-weight: 600;
}

.inforun li span {
    color: #555;
    text-align: right;
}

/* Bouton CTA spécifique à la carte */
.cta-small {
  background: linear-gradient(90deg, #0066ff 0%, #9b35ff 50%, #ff6600 100%);
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  transition: background-color 0.3s;
  font-size: 0.95rem;
}

.cta-small:hover {
    background-color: #b82a6f;
}


/* 2. MEDIA QUERY : ADAPTATION VERS LE MOBILE (MAX-WIDTH) */

@media (max-width: 991px) {
    .course-detail {
        flex-direction: column; /* Mobile : Image sous le texte (empilé) */
        gap: 20px;
        padding: 20px;
    }
    
    /* On annule l'inversion pour les mobiles */
    .course-detail.reverse {
        flex-direction: column; 
    }

    .course-text-content {
        order: 2; /* Met le texte sous la vidéo sur mobile */
        text-align: center;
    }
    
    .course-media {
        order: 1; /* Met la vidéo en premier sur mobile */
    }

    .course-text-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
  .courses {
    padding: 40px 0;
  }
  .courses h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .course-detail {
    margin-bottom: 50px;
    padding: 15px;
  }

  .course-text-content h3 {
    font-size: 1.3rem;
  }

  .course-description {
    font-size: 0.95rem;
  }

  .cta-small {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}


/* --- LITE YOUTUBE EMBED (Performance Optimized) --- */
.lite-youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  background-color: #000;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.lite-youtube img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.lite-youtube:hover img {
  opacity: 0.8;
}

.lite-youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.3s;
  padding: 0;
}

.lite-youtube:hover .lite-youtube-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.lite-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* --- SECTION PRE-INSCRIPTION --- */
#preinscription {
  width: 100%;
  padding: 40px 0px;
  text-align: center;
}

#preinscription h2 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #0066ff 0%, #9b35ff 50%, #ff6600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.preinscription-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #fcfcfc;
}

.form-group {
  margin-bottom: 20px;
  text-align: left; /* Aligne le contenu du groupe à gauche */
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.form-group input{
  box-sizing: border-box;
}

/* Style commun pour les inputs et le select */
  .preinscription-form input[type="text"],
  .preinscription-form input[type="email"],
  .preinscription-form input[type="tel"], /* Ajout du style pour le type tel */
  .preinscription-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    color: #444;
}

        .preinscription-form input:focus,
        .preinscription-form select:focus {
            border-color: #d63384; 
            box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.2);
            outline: none;
        }

        /* Style spécifique pour le select pour simuler une flèche (SVG encodé) */
        .form-group select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'%3E%3Cpath d='M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px top 50%;
            background-size: 16px;
        }

        /* --- STYLE DU MESSAGE DE FORMULAIRE --- */
        .form-message {
            margin-top: 20px;
            padding: 10px 15px;
            border-radius: 6px;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
            font-size: 0.95rem;
            font-weight: 600;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .form-message.error {
            background-color: #fce8e8;
            color: #cc0000;
            border: 1px solid #cc0000;
            opacity: 1; 
        }

        .form-message.success {
            background-color: #e8fce8;
            color: #008800;
            border: 1px solid #008800;
            opacity: 1;
        }

        /* --- MOBILE ADAPTATION --- */
        @media (max-width: 576px) {
            #preinscription {
                padding: 40px 10px;
            }
            .preinscription-form {
                max-width: 95%;
                padding: 20px;
            }
            .subtitle {
                font-size: 1rem;
                margin-bottom: 25px;
            }
        }
 
/* --- FLOATING MUSIC PLAYER --- */
.floating-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  max-height: 500px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s ease;
  overflow: hidden;
}

.floating-player.minimized .player-content {
  display: none;
}

.floating-player.closed {
  transform: translateY(calc(100% + 20px));
}

/* Player Header */
.player-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.player-label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.toggle-player,
.close-player {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: background 0.2s;
}

.toggle-player:hover,
.close-player:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Player Content */
.player-content {
  padding: 15px;
}

.hidden {
  display: none;
}

/* Track Info Mini */
.track-info-mini {
  margin-bottom: 12px;
}

.track-title-mini {
  font-size: 1rem;
  color: #333;
  margin: 0 0 4px 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist-mini {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* Progress Mini */
.progress-mini {
  margin-bottom: 12px;
}

.progress-bar-mini {
  height: 4px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 6px;
}

.progress-fill-mini {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  width: 0%;
  transition: width 0.1s linear;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #999;
  font-family: monospace;
}

/* Controls Mini */
.controls-mini {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.controls-mini button {
  background: none;
  border: none;
  color: #667eea;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.controls-mini button:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: scale(1.05);
}

.play-btn-mini {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  width: 45px;
  height: 45px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.play-btn-mini:hover {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Playlist Mini */
.playlist-mini {
  border-top: 1px solid #eee;
  padding-top: 12px;
  max-height: 200px;
  overflow-y: auto;
}

.playlist-mini::-webkit-scrollbar {
  width: 6px;
}

.playlist-mini::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.playlist-mini::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}

.playlist-items-mini {
  list-style: none;
  padding: 0;
  margin: 0;
}

.playlist-item-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 5px;
}

.playlist-item-mini:hover {
  background: rgba(102, 126, 234, 0.1);
}

.playlist-item-mini.active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  border-left: 3px solid #667eea;
}

.track-number-mini {
  font-size: 0.75rem;
  font-weight: bold;
  color: #667eea;
  min-width: 20px;
  text-align: center;
}

.track-details-mini {
  flex: 1;
}

.track-name-mini {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-zone-mini {
  font-size: 0.75rem;
  color: #888;
  margin: 0;
}

/* Responsive Floating Player */
@media (max-width: 768px) {
  .floating-player {
    bottom: 15px;
    right: 15px;
    width: 280px;
  }

  .controls-mini {
    gap: 10px;
  }

  .play-btn-mini {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .floating-player {
    bottom: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: calc(100vw - 20px);
  }

  .track-title-mini {
    font-size: 0.9rem;
  }

  .track-artist-mini {
    font-size: 0.8rem;
  }
}

/* --- FOOTER (Desktop First) --- */
.footer {
    /* Couleur de fond principale sombre */
    background-color: #f4f4f9; /* Gris Charbon (Couleur principale de l'Option 6) */
    color: black; /* Texte très clair */
    padding: 30px 0 0; /* Marge interne haute, pas de marge basse initialement */
    font-family: Arial, sans-serif; /* Assurez-vous d'utiliser votre police de site */
    width: 100%;
}

/* --- SECTION PRINCIPALE (LOGO, LIENS, SOCIAL) --- */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Adaptez à la largeur maximale de votre site */
    margin: 0 auto;
    padding: 0 20px 20px;
    border-bottom: 2px solid #0066ff; /* Ligne de séparation colorée (Accent Bleu) */
    margin-bottom: 20px;
}

/* --- LOGO --- */
.footer-logo img {
    max-height: 50px; /* Ajustez la taille du logo */
}

/* --- LIENS DE NAVIGATION --- */
.footer-links a {
    color: black;
    text-decoration: none;
    margin-right: 25px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db; /* Utilisation de la couleur d'accent au survol */
}

/* --- RÉSEAUX SOCIAUX --- */
.footer-social {
    text-align: right;
}

.footer-social p {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
  display: block;
  width: 30px; /* Taille des icônes */
  height: 30px;
  background-size: cover;
  background-position: center;
  border-radius: 5px; /* Optionnel : pour un look plus doux */
  transition: transform 0.2s;
  text-decoration: none;
}

.social-icons i {
  color: white;
}

.social-icons a:hover {
  transform: scale(1.1);
}

/* 📌 COULEURS D'ORIGINE des Logos de Réseaux Sociaux */
/* Utilisez des icônes SVG ou des polices d'icônes (comme FontAwesome) pour un meilleur rendu.
   Si vous utilisez des images (background-image), assurez-vous qu'elles sont les logos officiels colorés. */

.social-icons .fb {
    background-color: #3b5998; /* Facebook Blue */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* Si vous utilisez une image, remplacez background-color par background-image: url('chemin/vers/facebook-logo-white.svg'); */
}

.social-icons .ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); /* Instagram Gradient */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.social-icons .tk {
  background-color: black; /* Twitter Blue */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.social-icons .li {
  background-color: #0e76a8; /* Twitter Blue */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* --- SECTION COPYRIGHT (bas) --- */
.footer-bottom {
    text-align: center;
    padding: 15px 20px;
    /* La couleur de fond est héritée de .footer, donc elle reste sombre */
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-links, .footer-social {
        margin-bottom: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .footer-social p {
        margin-top: 15px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center; /* Centrer les icônes en mode mobile */
    }
}
