/* Body */
body {
margin: 0;
min-height: 100vh;
background: 
url("images/bga.jpg") left bottom no-repeat fixed,
url("images/bgb.jpg") right bottom no-repeat fixed,
#000; /* couleur de fond au centre */
font-family: "Comic Sans MS", ComicSans, sans-serif;
font-weight: bold;

/* Ajout pour centrer et colorer le texte */
text-align: center;
color: #fff;
padding: 50px 20px;
}

h1 {
text-align: center;
font-size: 3.5em;
color: #FFF;
margin-top: 20px;
text-shadow: 0 0 5px #FF8400, 0 0 10px #FF0000;
}

/* Sur mobile : réduire */
@media (max-width: 768px) {
  h1 {
    font-size: 1.2em; /* adapté petit écran */
    line-height: 1.2em;
    word-wrap: break-word; /* coupe si trop long */
  }
}

h2 {
text-align: center;
font-size: 3em;
color: #FFF;
text-shadow: 0 0 5px #FF8400, 0 0 10px #FF0000;
}

.titre_haut {
text-align: center;
font-size: 3.5em;
color: #FFF;
margin-top: 20px;
text-shadow: 0 0 5px #FF8400, 0 0 10px #FF0000;
}

/* Sur mobile : réduire */
@media (max-width: 768px) {
  .titre_haut {
    font-size: 1.2em; /* adapté petit écran */
    line-height: 1.2em;
    word-wrap: break-word; /* coupe si trop long */
  }
}

/* Menu */
nav {
background-color: #000;
display: flex;
justify-content: center; /* centre horizontalement */
padding: 10px 0;
box-shadow: 0 0 10px #FF8400;
}

nav ul {
  list-style: none;       /* enlève les puces */
  margin: 0;
  padding: 0;
  display: flex;          /* met les <li> en ligne */
  gap: 15px;              /* espace entre les éléments */
}

nav li {
  display: inline;        /* chaque <li> s'affiche à la suite */
}

nav a {
color: #FF8400;
text-decoration: none;
font-family: "Comic Sans MS", ComicSans, sans-serif;
font-size: 1.2em;
font-weight: bold;
margin: 0 20px;
transition: all 0.3s ease-in-out;
text-shadow: 0 0 5px #FF0000, 0 0 10px #FF8400;
}

nav a:hover {
color: #FF0000;
text-shadow: 0 0 10px #FF0000, 0 0 20px #FF8400;
transform: scale(1.1);
}

nav a:visited {
color: #FF8400;
}

.menu-section {
  display: inline-block;
  font-family: "Comic Sans MS", ComicSans, sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  color: #FF8400;
  text-shadow: 0 0 4px #FF0000, 0 0 8px #FF8400;
  text-transform: uppercase;
  margin: 0 15px;
  padding: 0 5px;
  cursor: default;
  letter-spacing: 0.07em;
  border-bottom: 2px solid #FF8400;
}

/* Alphabet */
.alphabet {
background-color: #000;
display: flex;
flex-wrap: wrap; /* permet de revenir à la ligne si ça déborde */
justify-content: center;
padding: 10px;
margin: 20px auto;
box-shadow: 0 0 10px #FF8400;
max-width: 1000px;
}

.alphabet a {
color: #FF8400;
text-decoration: none;
font-family: "Comic Sans MS", ComicSans, sans-serif;
font-size: 1.1em;
font-weight: bold;
margin: 5px 10px;
transition: all 0.2s ease-in-out;
text-shadow: 0 0 5px #FF0000, 0 0 10px #FF8400;
}

.alphabet a:hover {
color: #FF0000;
text-shadow: 0 0 10px #FF0000, 0 0 20px #FF8400;
transform: scale(1.2);
}

/* Sections par lettre */
.letter-section {
margin: 40px auto;
max-width: 1000px;
padding: 10px 20px;
border-left: 3px solid #FF8400;
border-right: 3px solid #FF8400;
}

.image-center { text-align: center; }
.image-center img { max-width: 100%; height: auto; }

.letter-section h2 {
font-size: 1.8em;
color: #FF8400;
text-shadow: 0 0 5px #FF0000;
margin-bottom: 10px;
}

.letter-section ul {
  list-style: disc;       /* affiche les puces rondes */
  list-style-position: inside; /* place la puce à l’intérieur, alignée avec le texte */
  padding-left: 0;
  text-align: center;     /* centre le texte + les puces */
}

.letter-section li {
margin: 5px 0;
font-size: 1.1em;
}

#bass {
background: url("images/bg.jpg") no-repeat left 50%; height: 100px; color: #ffffff;
}

#header {
  background:
    url("images/bgr.jpg") no-repeat right 50%,
    url("images/bg.jpg") no-repeat left 50%;
  height: 100px;
  color: #ffffff;
  font-weight: bold;
}

/* Sur mobile (largeur ≤ 768px), on garde uniquement l'image de gauche */
@media (max-width: 768px) {
  #header {
    background: url("images/bg.jpg") no-repeat left 50%;
  }
}

#header div { text-align: center; }

#pied {
background: url("images/cheperz.jpg") no-repeat center 50%; height: 50px
}

a {
color: #ff8400; text-decoration: none
}

a:hover {
color: #ff0000; text-decoration: underline
}

a:visited {
color: #ff8400; text-decoration: none
}

.titre {
font-size: 1.2em;       /* taille du texte */
font-weight: bold;      /* gras */
text-decoration: underline; /* souligné */
}

/* Conteneur boutons */
.cta-buttons {
  display: flex;
  justify-content: center;   /* centre horizontalement */
  gap: 20px;                 /* espace entre les boutons */
  flex-wrap: wrap;           /* permet de passer à la ligne sur petit écran */
  margin: 30px 0;
}

/* Boutons */
.download-btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(45deg, #ff8400, #ff0000);
  border: 2px solid #ff8400;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 15px #ff8400, 0 0 30px #ff0000;
  transition: all 0.3s ease-in-out;
}

/* Hover effet néon */
.download-btn:hover,
.download-btn:visited,
.download-btn:active,
.download-btn:focus {
  color: #fff;
  background: linear-gradient(45deg, #ff0000, #ff8400);
  box-shadow: 0 0 25px #ff0000, 0 0 50px #ff8400;
  transform: scale(1.05);
}

/* Version responsive mobile */
@media (max-width: 600px) {
  .download-btn {
    font-size: 1.2em;
    padding: 12px 25px;
  }
  
  .cta-buttons {
    gap: 15px;
  }
}

/* Sur mobile : réduire */
@media (max-width: 768px) {
  .main-title {
    font-size: 2em; /* adapté petit écran */
    line-height: 1.2em;
    word-wrap: break-word; /* coupe si trop long */
  }
}

/* Backtotop */
/* Version PC */
#backToTop {
  position: fixed;
  bottom: 20px;   /* distance par rapport au bas de l'écran */
  right: 200px;   /* distance par rapport à la droite */
  background: #000;
  color: #FF8400;
  font-size: 1em;
  border: 2px solid #FF8400;
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
  box-shadow: 0 0 10px #FF8400, 0 0 20px #FF0000;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

/* Version mobile */
@media (max-width: 768px) {
  #backToTop {
    bottom: 20px;   /* toujours en bas */
    right: 20px;    /* plus proche du bord droit */
    font-size: 0.9em;
    padding: 8px 12px;
  }
}

#backToTop:hover {
  color: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 0 15px #FF0000, 0 0 30px #FF8400;
  transform: scale(1.1);
}

.youtube-btn,
.youtube-btn:link,
.youtube-btn:visited,
.youtube-btn:hover,
.youtube-btn:active {
    color: #ffffff !important;  /* toujours blanc */
    text-decoration: none;      /* pas de soulignement */
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    background-color: #FF0000; /* fond rouge YouTube */
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.2s ease-in-out;
}

.youtube-btn:hover {
    background-color: #cc0000; /* rouge plus foncé au hover */
}

.youtube-btn .yt-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    fill: #ffffff; /* logo blanc */
}

.intro-text {
  font-size: 1.3em;               /* ancien réglage conservé */
  color: #ffffff;                 /* blanc doux */
  text-align: center;
  margin: 20px auto;
  line-height: 1.5em;
  text-shadow: 0 0 3px #cccccc;   /* glow léger */
  max-width: 1000px;              /* ajouté de la version moderne */
}

intro-text ul {
  list-style: none;            /* supprime les puces natives */
  padding: 0;
  margin: 1em auto;
  display: flex;
  flex-direction: column;
  align-items: center;         /* centre le bloc <ul> */
  gap: 0.6em;
  max-width: 800px;            /* largeur max pour une bonne lisibilité */
}

.intro-text li {
  text-align: justify;         /* texte justifié */
  margin: 0;
  padding: 0.05em 0;
  position: relative;
  font-size: 1.1em;
  line-height: 1.4em;
  width: 100%;                 /* prend toute la largeur dispo */
}

/* Bouton Burger */
.menu-toggle {
  background: none;
  border: 2px solid #FF8400;
  color: #FF8400;
  font-size: 2em;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  position: relative;
}

.menu-toggle:hover {
  color: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 0 10px #FF0000, 0 0 20px #FF8400;
}

/* Overlay fullscreen */
#overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(0,0,0,0.95);
  overflow-y: auto; /* scroll vertical si contenu trop grand */
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: flex-start; /* commence en haut */
  padding-top: 50px; /* espace pour le bouton ✖ */
  transition: width 0.5s;
  z-index: 1000;
}

/* Quand actif */
#overlay-menu.active {
  width: 100%;
}

/* Cache le bouton "Haut" quand le menu est ouvert */
body.menu-open #backToTop {
  display: none !important;
}

/* Flex 3 colonnes */
.menu-flex {
  display: flex;
  justify-content: center; /* centre le bloc horizontalement */
  gap: 40px; /* espace entre images et menu */
  flex-wrap: nowrap; /* garder les 3 colonnes */
  padding-top: 50px; /* espace pour le bouton ✖ */
  padding-bottom: 50px;
}

/* Images décor centrées verticalement */
.menu-img {
  display: block;
  align-self: center; /* centre verticalement dans le flex */
  text-align: center;
}

.menu-img img {
  max-height: 300px;
  max-width: 150px;
}

/* Menu central */
#overlay-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Liens menu */
#overlay-menu ul li a {
  font-size: 2.5em;
  color: #FF8400;
  text-decoration: none;
  font-family: "Comic Sans MS", ComicSans, sans-serif;
  text-shadow: 0 0 10px #FF0000, 0 0 20px #FF8400;
  transition: 0.3s;
}

#overlay-menu ul li a:hover {
  color: #FF0000;
  text-shadow: 0 0 20px #FF0000, 0 0 40px #FF8400;
}

/* Bouton fermeture */
#overlay-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2em;
  background: none;
  border: none;
  color: #FF8400;
  cursor: pointer;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .menu-img {
    display: none; /* images cachées sur mobile */
  }
  .menu-flex {
    flex-direction: column;
    gap: 20px;
  }
  #overlay-menu ul li a {
    font-size: 2em;
  }
}

.table-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

/* Chaque carte */
.card {
  background: rgba(0,0,0,0.8);
  border: 2px solid #FF8400;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px #FF8400, 0 0 20px #FF0000;
}

/* Titre et info */
.card-title {
  font-size: 1.5em;
  color: #FF8400;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #FF0000;
}

.card-info {
  font-size: 1em;
  color: #fff;
  margin-bottom: 15px;
}

/* Boutons */
.card-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.card-buttons .download-btn {
  background-color: #1877F2; /* bleu Facebook */
  color: #fff !important;
  border: 1px solid #1877F2;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  font-size: 1.2em;
  padding: 10px 15px;
}

.card-buttons .download-btn:hover {
  background-color: #145dbf;
  box-shadow: 0 0 10px #1877F2;
}

/* Cartes Facebook */
.fb-card {
  position: relative;
  background: linear-gradient(145deg, rgba(0,0,0,0.9), rgba(25,25,25,0.9));
  border: 2px solid #1877F2;
  box-shadow: 0 0 10px #1877F2, 0 0 25px #FF8400;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fb-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px #1877F2, 0 0 35px #FF8400;
}

/* Logo Facebook */
.fb-logo {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  opacity: 0.9;
  filter: drop-shadow(0 0 5px #1877F2);
}

/* Bouton Facebook */
.fb-btn {
  background: #1877F2;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.fb-btn:hover {
  background: #145DBF;
  box-shadow: 0 0 10px #1877F2;
}

.genre-links {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #FF8400;
  padding-top: 20px;
  font-family: "Comic Sans MS", ComicSans, sans-serif;
}

.genre-links p {
  color: #FF8400;
  font-weight: bold;
  text-shadow: 0 0 5px #FF0000;
  margin-bottom: 15px;
  font-size: 1.2em;
}

/* Style des liens inspiré de intro-text */
.genre-links ul {
  list-style: none;
  padding: 0;
  margin: 1em auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  max-width: 800px;
}

.genre-links li {
  width: 100%;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.4em;
}

.genre-links a {
  color: #FF8400;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  text-shadow: 0 0 5px #FF0000, 0 0 10px #FF8400;
}

.genre-links a:hover {
  color: #FF0000;
  text-shadow: 0 0 10px #FF0000, 0 0 20px #FF8400;
  transform: scale(1.05);
}