/* === POLICES === */
@font-face {
    font-family: 'Dreaming';
    src: url('https://symbiose-music.fr/fonts/FontsFree-Net-Dreaming.ttf') format('truetype');
}
@font-face {
    font-family: 'Lithos Pro';
    src: url('https://symbiose-music.fr/fonts/LithosPro-Regular.otf') format('opentype');
}

/* === GÃ‰NÃ‰RAL === */
html {
    scroll-padding-top: 140px;
    overflow-x: hidden;
}
body {
    font-family: 'Arial Rounded MT Bold', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    width: 100vw;
    overflow-x: hidden;
}
img, video, audio {
    max-width: 100%;
    height: auto;
    display: block;
}
h1 {
  font-size: 60px;
  font-family: 'Dreaming', sans-serif;
  text-align: center;
  margin-top: 100px;
}
h1, h2 {
    font-family: 'Dreaming', sans-serif;
    color: #333;
}
h2 {
    font-size: 50px;
    margin-top: 50px;
    margin-bottom: 30px;
}
h4 {
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
	font-family: 'Dreaming', sans-serif;
    color: #333;
}
h3 {
    color: #FFFFFF;
}

/* === HEADER === */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #DFD5BC;
    box-shadow: 0 4px 2px -2px gray;
    z-index: 1000;
    flex-wrap: nowrap;
}
.logo-mobile {
    display: none;
}
.menu-hamburger {
    display: none;
    cursor: pointer;
    margin-right: 15px;
}
.burger-icon {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1100;
}
.burger-icon span {
    display: block;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.burger-icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger-icon.open span:nth-child(2) {
    opacity: 0;
}
.burger-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.logo-desktop img {
    height: 10vh;
    width: auto;
}
.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 30px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-grow: 1;
    justify-content: flex-end;
    min-width: 0;
    flex-wrap: wrap;
    width: auto;
    padding-right: 10px;
}
.music-links1 {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 10px;
}
.music-links1 img {
    width: 100px;
    height: auto;
}
.music-links2 {
    display: flex;
    
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    
}
.music-links2 img {
    width: 100px;
    height: auto;
}

/* === NAVIGATION === */
#desktop-nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    white-space: nowrap;
}
#desktop-nav ul {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#desktop-nav ul li a {
    padding: 10px 15px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
#desktop-nav ul li a:hover {
    background-color: #c3b38b;
}
#mobile-nav {
    position: absolute;
    top: 60px;
    left: 15px;
    width: 200px;
    background-color: #DFD5BC;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
#mobile-nav.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}
#mobile-nav ul li {
    padding: 10px 20px;
    text-align: center;
}
#mobile-nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

/* === ACTUS & HERO === */
/* Par défaut : cacher la version mobile */
.actus-calendrier-mobile {
  display: none;
}
.hero {
    background-color: #f1f1f1;
}
.actus {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #eaeaea;
    padding: 20px;
    margin-top: 110px;
	gap:40px;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
	flex-wrap: wrap;
}
.hero-text {
    flex: 1;
    margin: 10px;
	padding-right: 20px;
	min-width:280px;
    text-align: justify;
}
.actus-text h2, .hero-text h2 {
    font-size: 35px;
    margin-bottom: 10px;
    margin-top: 40px;
}
.actus-text p, .hero-text p {
    font-size: 18px;
    line-height: 1.6;
}
/* Structure principale de la section Actus */
.actus-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

/* Colonne texte Ã  gauche */
.actus-text {
  flex: 0 1 75%;
  text-align: justify;
  overflow: hidden;
}

.actus-droite {
  flex: 0 1 23%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  align-items: center; /* ou flex-start */
}
/* BoÃ®te "prochain concert" */
.actus-calendrier {
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
	font-family: 'Chewy', cursive;

  color: #8B0000; /* Rouge foncé festif */
	 width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.actus-concert {
  background-color: #222;
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  text-align: center;
  font-family: 'Lithos Pro', sans-serif;

  height: auto;
	width: 80%;
  max-height: 110px; 
  flex-grow: 0;
  flex-shrink: 0;

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

/* === SLIDER === */

.actus-slider {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
	 width: 100%;
  max-width: 320px;
 
  border-radius: 10px;
  margin: 0 auto;
}

.actus-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
	 height: auto; /* ajoute cette ligne */
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
	border-radius: 0 0 10px 10px;
}

.actus-slider img.active {
  opacity: 1;
  z-index: 1;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 250px;
}

.actus-concert h3,
.actus-concert p {
    font-family: 'Lithos Pro', sans-serif;
    font-size: 15px;
}




.media-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
  justify-content: center;
}

.media-gallery .gallery-img {
  width: auto;
  height: 120px;
  max-height: 120px;
  aspect-ratio: 1 / 1; /* force un carrÃ© */
  object-fit: cover;   /* recadre proprement */
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.media-gallery .gallery-img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  font-weight: bold;
}
/* Boutons suivant/prÃ©cÃ©dent fixÃ©s */
.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10000;
}

#prev {
  left: 20px;
}

#next {
  right: 20px;
}
/* === IMAGES / VIDEOS / AUDIOS === */
.hero-container {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* pour que texte et image aient la mÃªme hauteur */
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.hero-image {
  flex: 0 0 40%;
  display: block;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplissage propre */
  border-radius: 10px; /* optionnel pour un style plus doux */
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  font-size: 20px;
  padding: 20px;
}

.media-video {
    width: 80%;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.media-video:hover {
    transform: scale(1.05);
}

/* === SECTIONS === */
.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.image-row img {
  width: 30%;
  min-width: 200px;
  height: auto;
  border-radius: 10px;
}

#musique, #fiche-technique, #concerts, #confiance {
    background-color: #E6DEC3;
    color: #503714;
    padding: 50px 20px;
    text-align: center;
    font-size: 20px;
}

#medias, #contact {
    background-color: #C8B8A0;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    font-size: 20px;
}
#fiche-technique a {
    color: #503714;
    font-weight: bold;
}
#concerts p {
    font-family: 'Lithos Pro', sans-serif;
    font-size: 22px;
    font-weight: bold;
}
.musique-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0 20px;
}

.intro-musique {
  flex: 1 1 100%;
  max-width: 700px;
  font-size: 1.1em;
  line-height: 1.5;
  color: #3f2c1a;
  text-align: center;
}

.intro-musique h3 {
  font-family: 'Dreaming', cursive;
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #3f2c1a;
}

.audio-gallery {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* deux colonnes fixes */
  gap: 24px;
  justify-content: center;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.audio-box {
  background-color: #3f2c1a;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: center;
  width: 100%;
  max-width: 250px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}

.audio-box audio {
  width: 100%;
  height: 35px;
  margin-bottom: 8px;
  filter: invert(1) hue-rotate(180deg);
  border-radius: 5px;
}

.audio-label {
  font-family: 'Arial Rounded MT Bold', sans-serif;
  color: #f5f0da;
  font-size: 0.95em;
}

.audio-label small {
  font-size: 0.8em;
  color: #e6dfc6;
}

.audio-logos-centered {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 25px;
}
.confiance-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 10px;
}

.confiance-gallery img {
  height: 100px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.confiance-gallery img:hover {
  transform: scale(1.05);
}

.logo-label {
  font-size: 0.7rem;
  text-align: center;
  margin-top: 5px;
}


.trusted-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.trusted-list li {
  margin: 8px 0;
}

.trusted-list a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: bold;
}

.trusted-list a:hover {
  text-decoration: underline;
}
/* === FORMULAIRE === */
#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contact-form input, #contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
#contact-form button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#contact-form button:hover {
    background-color: #0056b3;
}

/* === FOOTER === */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
}
@media (max-width: 768px) {
	#home,
.actus {
    margin-top: -50px !important; /* à ajuster si tu veux encore moins */
}

	header {
    height: 70px;        /* taille compacte */
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* burger à gauche, logos à droite */
}

/* Ajuste le burger */
.menu-hamburger, .burger-icon {
    top: 12px;
    left: 12px;
}
	
	.calendrier-barre {
    display: none;
  }
	.actus-calendrier-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  margin-top: 130px;
  margin-bottom: -50px;
}

.actus-calendrier-mobile img {
  max-width: 90%;
  height: auto;
}
	.actus-calendrier{
		display: none;
	}
  .media-gallery .gallery-img {
    height: 90px;
    max-height: 90px;
  }

  .audio-gallery {
    grid-template-columns: 1fr;
  }

  .intro-musique {
    font-size: 0.95em;
    line-height: 1.4;
  }

  .audio-box {
    max-width: 90%;
    padding: 10px;
    border-radius: 10px;
    margin: 0 auto;
  }

  .audio-box audio {
    height: 30px;
  }

  .audio-label {
    font-size: 0.85em;
  }

  .audio-label small {
    font-size: 0.75em;
  }

  /* Cache le menu desktop */
  #desktop-nav {
    display: none;
  }

  .hero-image {
    display: none;
  }

  .menu-hamburger {
    display: block;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1100;
  }
/* Masquer le logo desktop sur mobile */
.logo-desktop {
    display: none !important;
}

/* Afficher le logo mobile sur mobile */
.logo-mobile {
    display: block !important;
    width: 120px !important;     /* Taille du logo (modifie 70–120px si besoin) */
    height: auto !important;
    margin: 0 auto 0 auto;   /* centre + petit espace sous le logo */
}

  /*.logo::before {
    content: url("https://symbiose-music.fr/images/nouvelle-image-mobile.jpg");
    display: block;
    width: 50%;
    height: auto;
    margin: 0 auto;
  }*/

  #mobile-nav {
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 60px;
    left: 15px;
    width: 200px;
    background-color: #DFD5BC;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    flex-direction: column;
  }

  #mobile-nav.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
  }

  #mobile-nav ul li {
    padding: 10px 20px;
    text-align: center;
  }

  #mobile-nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
  }

  .actus {
    flex-direction: column;
    align-items: center;
  }

  .actus-container {
    flex-direction: column;
    align-items: center;
  }



  .actus-calendrier img {
    max-width: 90%;
    height: auto;
  }

  .actus-text,
  .actus-droite {
    flex: 1 1 100%;
    max-width: 100%;
  }
	.actus-droite {
		width: 100%;
	}

  .actus-text {
    padding: 0 15px;
  }

  /*  NE PAS modifier ceci : on conserve le fonctionnement du slider */
  .actus-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .actus-slider img.active {
    opacity: 1;
    z-index: 1;
  }

  .slider-track {
    height: 250px;
  }

/* === CORRECTIONS ACTUS MOBILE === */

/* 1) Calendrier mobile en pleine largeur */
.actus-calendrier-mobile {
    width: 100%;
    display: flex;
	 flex-direction: column; 
    justify-content: center;
    align-items: center;
	gap: 20px;   
}


.actus-calendrier-mobile img {
    width: 100%;
    max-width: 420px; /* optionnel : limite raisonnable */
    margin: 0 auto;
}

/* 2) Bloc “Prochain concert” centré + largeur optimisée */
.actus-concert {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box;
}

/* 3) Slider centré et occupant toute la largeur */
.actus-slider {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 12px;
    overflow: hidden;
}

/* Les images remplissent sans déformation */
.actus-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

/* Ajuste la hauteur du slider pour éviter une zone trop petite */
.slider-track {
    width: 100%;
    height: auto; /* FINI les hauteurs imposées */
    aspect-ratio: 3 / 2; /*  le plus propre */
}
	

} /* ðŸ‘ˆ FIN correcte de la media query */
/* ðŸ“±ðŸ“± Version mobile Ã©troit */
@media (max-width: 480px) {
  .media-gallery .gallery-img {
    height: 70px;
    max-height: 70px;
  }
}
