@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --fond: #09090b;
  --surface: #111114;
  --surface-claire: #17171b;
  --texte: #f4f4f5;
  --violet: #a855f7;
  --violet-doux: rgba(168, 85, 247, 0.25);
  --cyan: #22d3ee;
  --cyan-doux: rgba(34, 211, 238, 0.2);
  --bordure: #27272a;
  --texte-secondaire: #a1a1aa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Space Grotesk", Arial, sans-serif;
  overflow-x: hidden;
}
::selection {
  background: var(--cyan);
  color: #000;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

.text-purple {
  color: var(--violet);
}

/* ================================
   FOND
================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.grille-fond {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(168, 85, 247, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
  pointer-events: none;
}
/* ================================
   BARRE SUPÉRIEURE
================================= */
.barre-superieure {
  height: 34px;
  display: flex;
  align-items: center;
  background: #050505;
  border-bottom: 1px solid var(--bordure);
  color: var(--texte-secondaire);
  padding: 0 24px;
  position: relative;
  z-index: 20;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.defilement {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.defilement span {
  display: inline-block;
  animation: defilement 24s linear infinite;
}
@keyframes defilement {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
.panier-lien {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--bordure);
  color: var(--texte);
}
.panier-lien span {
  color: var(--cyan);
}
/* ================================
   NAVIGATION
================================= */
nav {
  height: 78px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bordure);
  position: relative;
  z-index: 10;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(12px);
}
.logo {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.07em;
  color: var(--texte);
}
.logo::after {
  content: "LABORATOIRE AUDIO";
  margin-left: 10px;
  color: var(--cyan);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.05em;
  vertical-align: top;
}
.liens-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.liens-navigation a {
  position: relative;
  color: var(--texte-secondaire);
  transition: color 0.2s ease;
}
.liens-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.liens-navigation a:hover {
  color: var(--texte);
}
.liens-navigation a:hover::after {
  transform: scaleX(1);
}
/* ================================
   EN-TÊTE
================================= */
.en-tete {
  min-height: 690px;
  padding: 90px 7vw 110px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.etat {
  margin-bottom: 34px;
  color: var(--texte-secondaire);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.etat span {
  color: var(--cyan);
}
.titre-principal {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0;
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
}
.titre-contour {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
}
.titre-violet {
  color: var(--violet);
}
.description-en-tete {
  position: relative;
  z-index: 3;
  width: min(430px, 100%);
  margin-top: 42px;
  margin-left: 27%;
  color: var(--texte-secondaire);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.75;
}
.bouton-principal {
  display: inline-block;
  margin-top: 25px;
  padding: 13px 18px;
  border: 1px solid var(--cyan);
  background: var(--texte);
  color: #000;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.bouton-principal:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}
/* ================================
   VISUALISATION AUDIO
================================= */
#visualiseur {
  position: absolute;
  top: 24%;
  right: 5%;
  width: 430px;
  height: 230px;
  z-index: 1;
  opacity: 0.55;
}
.annotation {
  position: absolute;
  color: var(--texte-secondaire);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.annotation.un {
  top: 145px;
  right: 11%;
  color: var(--cyan);
}
.annotation.deux {
  left: 4%;
  bottom: 100px;
}
/* ================================
   BANDEAU
================================= */
.bandeau {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  background: var(--surface);
  transform: rotate(-0.7deg) scale(1.02);
}
.bandeau-interieur {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: bandeau 25s linear infinite;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.bandeau-interieur span {
  margin: 0 22px;
}
.bandeau-interieur span:nth-child(odd) {
  color: var(--texte);
}
.bandeau-interieur span:nth-child(even) {
  color: var(--violet);
}
@keyframes bandeau {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* ================================
   CATALOGUE
================================= */
.catalogue {
  max-width: 1500px;
  margin: auto;
  padding: 120px 6vw 110px;
  position: relative;
  z-index: 2;
}
.en-tete-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 42px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bordure);
}
.en-tete-section h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.85;
  letter-spacing: -0.08em;
}
.en-tete-section h3 {
  margin: 0;
  font-size: clamp(36px, 5vw, 42px);
  line-height: 0.85;
  letter-spacing: -0.08em;
}
.en-tete-section p {
  margin: 0;
  color: var(--texte-secondaire);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.produits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.produit {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 10px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
.produit:hover {
  border-color: #3f3f46;
  background: var(--surface-claire);
  transform: translateY(-4px);
}
.pochette {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--bordure);
}
.pochette-1 {
  background:
    radial-gradient(circle at 50% 45%, #581c87 0%, #18111f 35%, #050505 75%);
}
.pochette-2 {
  background:
    radial-gradient(circle at 55% 45%, #155e75 0%, #0b2028 38%, #050505 75%);
}
.pochette-3 {
  background:
    radial-gradient(circle at 45% 50%, #4c1d95 0%, #171225 38%, #050505 75%);
}
.pochette-4 {
  background:
    radial-gradient(circle at 50% 45%, #164e63 0%, #101c21 40%, #050505 75%);
}
.pochette::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 55%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.pochette::after {
  content: "";
  position: absolute;
  width: 28%;
  height: 28%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}
.texte-pochette {
  position: relative;
  z-index: 2;
  color: var(--texte);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.texte-pochette small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
}
.etiquette {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 3;
  padding: 4px 6px;
  background: var(--texte);
  color: #000;
  font-family: "DM Mono", monospace;
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
}
.informations-produit {
  padding: 16px 3px 3px;
}
.metadonnees {
  display: flex;
  justify-content: space-between;
  color: var(--cyan);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}
.produit h3 {
  margin: 8px 0 7px;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.description-produit {
  min-height: 47px;
  color: var(--texte-secondaire);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
}
.bas-produit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--bordure);
}
.prix {
  color: var(--texte);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}
.ajouter {
  padding: 6px 9px;
  border: 1px solid var(--bordure);
  background: transparent;
  color: var(--texte-secondaire);
  cursor: pointer;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.ajouter:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
/* ================================
   MANIFESTE
================================= */
.manifeste {
  position: relative;
  z-index: 2;
  padding: 115px 8vw;
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  background: #050505;
}
.contenu-manifeste {
  max-width: 900px;
}
.contenu-manifeste h2 {
  margin: 0 0 35px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}
.contenu-manifeste h2 em {
  color: var(--cyan);
  font-style: normal;
}
.contenu-manifeste p {
  max-width: 560px;
  margin: 0;
  color: var(--texte-secondaire);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.8;
}
/* ================================
   PACK GRATUIT
================================= */
.gratuit {
  padding: 110px 7vw;
  position: relative;
  z-index: 2;
}
.boite-gratuite {
  max-width: 1000px;
  margin: auto;
  padding: 50px;
  border: 1px solid var(--bordure);
  background: var(--surface);
  position: relative;
}
.boite-gratuite::before {
  content: "01";
  position: absolute;
  top: 20px;
  right: 25px;
  color: var(--bordure);
  font-family: "DM Mono", monospace;
  font-size: 50px;
  font-weight: 500;
}
.boite-gratuite h2 {
  margin: 0;
  color: var(--texte);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}
.boite-gratuite p {
  max-width: 600px;
  margin: 25px 0;
  color: var(--texte-secondaire);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.7;
}
.telecharger {
  display: inline-block;
  padding: 12px 17px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: #000;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.telecharger:hover {
  background: transparent;
  color: var(--cyan);
}
/* ================================
   PIED DE PAGE
================================= */
footer {
  position: relative;
  z-index: 2;
  padding: 55px 6vw 30px;
  border-top: 1px solid var(--bordure);
  background: #050505;
  color: var(--texte-secondaire);
  font-family: "DM Mono", monospace;
}
.logo-pied {
  color: var(--texte);
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.06em;
}
footer p {
  margin: 15px 0 0;
  font-size: 9px;
}
/* ================================
   NOTIFICATION PANIER
================================= */
.notification-panier {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: calc(100vw - 40px);
  padding: 13px 17px;
  border: 1px solid var(--cyan);
  background: var(--surface-claire);
  color: var(--texte);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  transform: translateY(150%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.notification-panier.visible {
  transform: translateY(0);
  opacity: 1;
}
/* ================================
   RESPONSIVE
================================= */
@media (max-width: 1000px) {
  .produits {
    grid-template-columns: repeat(2, 1fr);
  }
  #visualiseur {
    right: -5%;
    opacity: 0.3;
  }
}
@media (max-width: 700px) {
  .barre-superieure {
    padding: 0 14px;
  }
  .panier-lien {
    margin-left: 10px;
    padding-left: 10px;
  }
  nav {
    height: auto;
    min-height: 75px;
    padding: 18px 5vw;
    align-items: flex-start;
    gap: 20px;
  }
  .logo::after {
    display: none;
  }
  .liens-navigation {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .en-tete {
    min-height: auto;
    padding: 70px 7vw 90px;
  }
  .titre-principal {
    font-size: clamp(58px, 17vw, 100px);
  }
  .description-en-tete {
    width: 100%;
    margin-left: 0;
    margin-top: 35px;
  }
  #visualiseur,
  .annotation {
    display: none;
  }
  .catalogue {
    padding-top: 90px;
  }
  .en-tete-section {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .produits {
    grid-template-columns: 1fr;
  }
  .manifeste {
    padding: 85px 7vw;
  }
  .gratuit {
    padding: 80px 7vw;
  }
  .boite-gratuite {
    padding: 35px 25px;
  }
  .boite-gratuite::before {
    display: none;
  }
}
@media (max-width: 450px) {
  .barre-superieure {
    font-size: 8px;
  }
  .liens-navigation {
    font-size: 9px;
  }
  .titre-principal {
    font-size: 18vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .defilement span,
  .bandeau-interieur {
    animation: none;
  }
}










/* ================================
   PAGE COMMANDER / PANIER
================================= */
.page-commande {
  position: relative;
  z-index: 2;
  padding: 60px 6vw 100px;
}

.conteneur-commande {
  max-width: 1200px;
  margin: 0 auto;
}

.grille-commande {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.titre-bloc {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* LISTE DES PRODUITS */
.element-panier {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 12px;
  margin-bottom: 12px;
}

.pochette-mini {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bordure);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  color: var(--texte);
  flex-shrink: 0;
}

.details-element {
  flex: 1;
}

.details-element h3 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.details-element p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  color: var(--texte-secondaire);
}

.prix-element {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  padding: 0 10px;
}

.supprimer-element {
  background: transparent;
  border: none;
  color: var(--texte-secondaire);
  cursor: pointer;
  padding: 5px 8px;
  font-size: 12px;
  transition: color 0.2s ease;
}

.supprimer-element:hover {
  color: #ef4444;
}

.lien-retour {
  display: inline-block;
  margin-top: 15px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--texte-secondaire);
  transition: color 0.2s ease;
}

.lien-retour:hover {
  color: var(--cyan);
}

/* SOMMAIRE DU PAIEMENT */
.sommaire-commande {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 24px;
  height: fit-content;
}

.lignes-calcul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.ligne-calcul {
  display: flex;
  justify-content: space-between;
  color: var(--texte-secondaire);
}

.gratuit-texte {
  color: var(--cyan);
}

.ligne-calcul.total {
  border-top: 1px solid var(--bordure);
  padding-top: 14px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--texte);
}

.prix-total {
  color: var(--violet);
}

/* BOUTON PAYPAL */
.zone-paiement {
  margin-top: 35px;
}

.bouton-paypal {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #ffc439;
  border: none;
  color: #000;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bouton-paypal:hover {
  background: #f2b420;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 196, 57, 0.2);
}

.note-securite {
  margin-top: 15px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  color: var(--texte-secondaire);
  text-align: center;
  line-height: 1.4;
}

/* RESPONSIVE COMMANDER */
@media (max-width: 850px) {
  .grille-commande {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}




/* ================================
   MODULE ADMIN (INTERFACE ÉPURÉE)
================================= */
.nav-admin {
  border-bottom-color: var(--cyan);
}

.tag-admin {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--cyan);
  font-weight: 400;
  margin-left: 6px;
}

.lien-quitter {
  color: var(--texte-secondaire) !important;
}

.lien-quitter:hover {
  color: #ef4444 !important;
}

.page-admin {
  position: relative;
  z-index: 2;
  padding: 50px 6vw;
}

.conteneur-admin-etroit {
  max-width: 650px;
  margin: 0 auto;
}

.conteneur-admin-large {
  max-width: 1000px;
  margin: 0 auto;
}

.carte-admin {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 25px;
}

/* FORMULAIRE ADMIN */
.champ-groupe {
  margin-bottom: 20px;
}

.champ-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.carte-admin label {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--texte-secondaire);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.carte-admin input,
.carte-admin textarea {
  width: 100%;
  background: var(--fond);
  border: 1px solid var(--bordure);
  color: var(--texte);
  padding: 10px 12px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.carte-admin input:focus,
.carte-admin textarea:focus {
  border-color: var(--cyan);
  outline: none;
}

.bouton-admin-action {
  width: 100%;
  padding: 12px;
  background: var(--cyan);
  color: #000;
  border: none;
  font-family: "DM Mono", monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bouton-admin-action:hover {
  background: var(--violet);
  color: #fff;
}

/* TABLEAU INVENTAIRE */
.table-admin {
  width: 100%;
  border-collapse: collapse;
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.table-admin th {
  text-align: left;
  padding: 12px;
  color: var(--cyan);
  border-bottom: 1px solid var(--bordure);
  font-weight: 400;
}

.table-admin td {
  padding: 12px;
  border-bottom: 1px solid var(--bordure);
  color: var(--texte);
}

.table-admin tr:last-child td {
  border-bottom: none;
}

.code-id {
  color: var(--texte-secondaire);
  font-size: 9px;
}

.badge-cat {
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 6px;
  border: 1px solid var(--bordure);
}

.prix-chiffre {
  color: var(--violet);
}

.aligne-droite {
  text-align: right;
}

.bouton-suppr {
  background: transparent;
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 4px 10px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bouton-suppr:hover {
  background: #ef4444;
  color: #000;
}

@media (max-width: 600px) {
  .champ-double {
    grid-template-columns: 1fr;
  }
}


/* ================================
   BOUTON APERÇU AUDIO (PREVIEW)
================================= */
.apercu-audio {
  margin: 15px 0;
}

.bouton-preview {
  width: 100%;
  background: transparent;
  border: 1px solid var(--bordure, #1e1b2e);
  color: var(--cyan, #06b6d4);
  padding: 8px 12px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.bouton-preview:hover {
  border-color: var(--cyan, #06b6d4);
  background: rgba(6, 182, 212, 0.08);
}

.bouton-preview.en-lecture {
  background: var(--cyan, #06b6d4);
  color: #000;
  font-weight: bold;
  border-color: var(--cyan, #06b6d4);
}

/* ================================
   MINI PREVIEW SUR POCHETTE
================================= */
.pochette-mini {
  position: relative;
  overflow: hidden;
}

/* Bouton superposé au centre de la miniature */
.bouton-mini-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 12, 0.75);
  border: none;
  color: var(--cyan, #06b6d4);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Caché par défaut */
  transition: opacity 0.2s ease, background 0.2s ease;
}

/* Affichage du bouton Play */
.bouton-mini-preview .icone-play { display: inline-block; }
.bouton-mini-preview .icone-pause { display: none; }

/* 1. Affichage au survol (Hover) */
.pochette-mini:hover .bouton-mini-preview {
  opacity: 1;
}

/* 2. Style & visibilité quand le morceau joue */
.bouton-mini-preview.en-lecture {
  opacity: 1; /* Reste affiché tant qu'il joue */
  background: rgba(6, 182, 212, 0.85);
  color: #000;
}

.bouton-mini-preview.en-lecture .icone-play { display: none; }
.bouton-mini-preview.en-lecture .icone-pause { display: inline-block; }

.bouton-mini-preview:hover {
  color: var(--purple, #a855f7);
}

.bouton-mini-preview.en-lecture:hover {
  color: #fff;
  background: var(--purple, #a855f7);
}


/* ALIGNEMENT ET BOUTON PREVIEW DANS LE TABLEAU ADMIN */
.actions-cellule {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.bouton-preview-admin {
  background: transparent;
  border: 1px solid var(--cyan, #06b6d4);
  color: var(--cyan, #06b6d4);
  padding: 4px 10px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bouton-preview-admin:hover {
  background: var(--cyan, #06b6d4);
  color: #000;
}

.bouton-preview-admin.en-lecture {
  background: var(--cyan, #06b6d4);
  color: #000;
  font-weight: bold;
}


/* CHAMP D'IMPORTATION FICHIER AUDIO */
.carte-admin input[type="file"].input-fichier {
  padding: 8px;
  cursor: pointer;
}

.carte-admin input[type="file"].input-fichier::file-selector-button {
  background: transparent;
  border: 1px solid var(--cyan, #06b6d4);
  color: var(--cyan, #06b6d4);
  padding: 4px 10px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  cursor: pointer;
  margin-right: 12px;
  transition: all 0.2s ease;
}

.carte-admin input[type="file"].input-fichier::file-selector-button:hover {
  background: var(--cyan, #06b6d4);
  color: #000;
}