@charset "utf-8";
/* ===== Base / Reset léger ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

img, video { max-width: 100%; display: block; }

a { color: #fff; text-decoration: none; }
a:hover { color: #ffd700; }
a:focus-visible { outline: 2px dashed #ffd700; outline-offset: 2px; }

/* ===== Utilitaires ===== */
.inline { display: inline-block; float: left; }
.v_s { backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }

/* ===== Page ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  background-color: #000;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: background-image 0.6s ease-in-out;
}

/* Vidéo de fond */
.testvideo {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

/* Tables */
table { height: 500px; }      /* corrigé: heigth -> height */
td { height: 20px; }

/* ===== Header / Nav ===== */
header {
  position: sticky; top: 0;
  width: 100%;
  padding: 1%;
  display: flex; justify-content: flex-start; align-items: center; flex-wrap: nowrap;
  z-index: 100;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  background: rgba(0,0,0,0.25); /* rend le blur visible */
}

header .aka { width: 25%; }

header h1 { margin: 0; font-size: 1.5rem; }

.logo { width: 70px; height: 70px; background: #fff; border-radius: 50%; }
.logo svg { height: 70px;margin-top: 10px }

nav {
  width: 75%;
  margin-left: 0; margin-right: 5%;
  display: flex; justify-content: flex-end;
  /* corrigé: backgroun:red supprimé (erreur) */
}

.men { width: 20%; margin-right: 20%; }

nav a {
  margin-left: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

/* Toggle menu (conserve l’orthographe existante) */
.menu-toogle { display: none; }

/* ===== Contenu principal ===== */
main {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Sections ===== */
section {
  padding: 1%;
  margin-bottom: 2rem;
  border-radius: 1rem;
  text-align: center; width:100%;
}

/* ===== Publications ===== */
.publications {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;width:100%
}

.publication-card {
  display: flex;
  flex-direction: row;
  background: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);width:100%
}

.publication-image {
  width: 50%;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
}

.publication-content {
  padding: 1rem;width:50%;
  display: flex;
  flex-direction: column;;justify-content: center;
}

.publication-title {
  margin: 0 0 0.5rem;
  color: #fff;
}

.publication-chapo {
  
  color: #fff;
  margin: 0.25rem 0 1rem;
  line-height: 1.5;
}

.publication-meta,
.publication-date,
.publication-tags { color: #a7a7a7; }

.publication-button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background-color: #3366ff;
  color: #fff;
  border-radius: 0.5rem;
 
  transition: background-color 0.3s;
}
.publication-button:hover { background-color: #254eda; }

/* ===== Player YouTube ===== */
.player-wrapper {
  position: relative;
  padding-top: 56.25%;
  margin-top: 1rem;
}

.youtube-container {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.youtube-container .ctn,
.youtube-container iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
  z-index: 1;
  border-radius: 25px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#play-button {
  width: 20%;
  display: inline-flex;
  justify-content: center; align-items: center;
  background: #ffd700;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.timer { font-size: 150%; }

.player-controls {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background-color: rgba(0,0,0,0.5);
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.9rem;
}

#progress-container {
  flex-grow: 1;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

#progress-bar {
  height: 100%;
  background: #ffd700;
  width: 0%;
  border-radius: 3px;
  transition: width 0.1s linear;
}

#fullscreen-button {
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* ===== Galerie ===== */
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-item { width: 200px; cursor: pointer; }

.gallery-item img {
  width: 100%;
  border-radius: 0.5rem;
  transition: transform 0.3s;
}

.gallery-item .galerie_object {
  width: 98%; height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  transition: transform 0.3s; /* pour le hover */
}
.gallery-item:hover .galerie_object { transform: scale(1.05); }

/* ===== Lightbox ===== */
#lightbox {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex; justify-content: center; align-items: center;
  flex-direction: column;
  z-index: 2000;
}
#lightbox.hidden { display: none; }

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  color: #fff;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 1rem;
}

/* Rendu image lightbox en background si utilisé */
#lightbox-img {
  width: 75%;
  height: 600px;             /* peut être surchargé en responsive */
  margin-top: 2%;
  border-radius: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#close-lightbox {
  position: absolute; top: 2rem; right: 2rem;
  font-size: 2rem; cursor: pointer;
}

/* ===== Playlist ===== */
.title {
  text-align: center;
  padding: 2rem;
  font-size: 2.5rem;
  color: #00ffd5;
}

.playlist {
  display: inline-block;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 100%;
  margin: auto;
}

.track {
  background-color: transparent;       /* corrigé: 'non' -> transparent */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;width:29.33%;margin:1%;;display:inline-block
}
.track:hover { transform: translateY(-5px); }

.track .galerie_object {
  width: 98%; margin: 1%;
  height: 250px;
  border-radius: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.track-info { padding: 1rem; width: 80%; }

.track-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.track-artist { font-size: 0.9rem; color: #bbb; }

/* ===== Responsive ===== */

/* ≤ 900px */
@media (max-width: 981px) {
	
	
.playlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
}
	
	.track {
  background-color: transparent;       /* corrigé: 'non' -> transparent */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;width:21%;margin:1%;;display:inline-block
}
	body{font-size:175%;overflow-x: hidden}
  main {
    padding: 1%;
   width: 100%;
    margin: 0;margin-left:1%
  }

  .menu-toogle {
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
  }

  header {
    flex-direction: row; align-items: flex-start; flex-wrap: wrap;
  }

  header .aka { width: 75%; }

  nav {
    margin-top: 0.5rem; margin-left: 5%;
    width: 100%;
    display: none; /* affiché via JS quand menu ouvert */
    font-size: 90%;
  }

  .logo { margin-left: 5%; }

  nav a { display: block; margin: 0.3rem 0; }
	.publications{width:100%}
	 .publication-card { flex-direction: column;width:100% }
	.publication-chapo{font-size:60%}
	
.publication-content {
	padding: 1rem;width:98%;}
  .publication-image {
    width: 98%;margin-top:1vh;
    height: 550px;
    
    border-radius: 20px; /* harmonise avec row */
  }
}
@media(max-width:800){
	
	.track {
  background-color: transparent;       /* corrigé: 'non' -> transparent */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;width:96%;margin:1%;;display:inline-block
}
}
/* ≥ 768px (layout horizontal pour les cartes) */
@media (min-width: 768px) {
 
  
}

/* ≥ 960px (confort desktop) */
@media (min-width: 981px) {
  main { padding: 1%; max-width: 1300px; margin: 0 auto; }
}

/* ≤ 600px (petit mobile) */
@media (max-width: 600px) {
  header { flex-direction: column; justify-content: center; align-items: center; }
  .logo { margin: 0; }
  nav { margin-top: 0.5rem; height: 65vh; margin-left: 0; font-size: 80%; }
  nav a { display: block; margin: 0.3rem 0; }
  #lightbox-img { width: 90vw; height: 70vh; } /* lightbox plus souple en mobile */
}
@media (orientation:portrait) {
	
	main {width:97%}
	.publication-card{width:101%}
}