html, body {
    height: 100%;
    margin: 0;
  }
  body {
    display: flex;
    flex-direction: column;
    /* tient compte de la barre iOS/Android */
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  /* 1) Le container principal remplit tout l’espace restant */
  .profile-container {
    display: flex;
    flex-direction: column;
    flex: 1;                /* pousse .legal-block en bas */
  }
  
  /* 2) Le logo de footer est collé en bas du profile-container */
  .footer-logo {
    margin-top: auto;       /* pousse vers le bas */
    padding: 16px;          /* ou ce que vous voulez */
    text-align: center;
  }
  
  /* 3) La legal-block reste sous le profile-container */
  .legal-block {
    flex-shrink: 0;         /* ne se contracte jamais */
    background: #000;
    color: #fff;
    text-align: center;
    padding: 12px 0;
  }
  


/* Général */
body {
    background-color: #000; /* Fond noir */
    color: #fff; /* Texte blanc */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Profile Container */
.profile-container {
    /* layout flex pour pousser le fond blanc à toute la hauteur disponible */
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;    
  
    /* vos règles visuelles existantes */
    width: 100%;
    max-width: 575px;
    margin: 0 auto;
    background-color: #f1f1f1;
    border-radius: 30px 30px 12px 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;

    transform-origin: top center;          /* ancre le zoom en haut */
    will-change: transform, max-width, margin-top, border-radius; /* perf */  
    box-sizing: border-box;
  }

/* Photo de profil */
.profile-photo-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

#profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #fff; /* Bordure blanche */
    object-fit: cover;
}

.profile-pic.round { border-radius: 50%; }
.profile-pic.rounded { border-radius: 15px; }
.profile-pic.square { border-radius: 0; }


/* Informations sur le profil */
.profile-info h1 {
    font-size: 20px;
    color: #222;
    margin: 10px 0 5px;
}

.profile-info p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* Description */
.profile-description {
    font-size: 14px;
    color: #666;
    margin: 15px 20px;
    text-align: justify;
    line-height: 1.5;
}

#profile-name {
    color: inherit;
    transition: color 0.3s ease;
}

#profile-title {
    color: inherit;
    transition: color 0.3s ease;
    margin: auto 18px;
}


/* Informations de contact */
.contact-info {
    margin: 20px 15px;
    padding: 10px 0;
}

.contact-item {
    margin-bottom: 15px;
    text-align: left;
    display: flex;
    align-items: center;
}

.contact-text {
    font-size: 14px;
    color: #333;
    margin-right: 10px;
    font-weight: bold;
}

.contact-link {
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
    word-break: break-word; /* Pour gérer les URLs longues */
}

.contact-link:hover {
    text-decoration: underline;
}
/* Icônes des réseaux sociaux */
.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f0f0f0;
    padding: 5px;
    transition: background-color 0.3s;
}

.social-icons img:hover {
    background-color: #007BFF;
}




/* Bloc de chaque lien (par défaut : small) */
/* Par défaut (small et medium) */
.link-item {
    height: 31px; /* Hauteur par défaut */
    display: flex;
    align-items: center; /* Centrage vertical */
    justify-content: center; /* Centrage horizontal */
    margin: 10px 0;
    padding: 15px 60px;
    background-color: var(--block-color, #fff); /* Couleur par défaut */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    position: relative; /* Nécessaire pour les positions absolues */
    overflow: hidden; /* Empêche les débordements */
}

/* Option medium */
.link-item.height-medium {
    height: 60px;
}

/* Option large */
.link-item.height-large {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* La vignette prend la majorité de l'espace */
    position: relative;
    overflow: hidden;
}

/* Vignette par défaut (small et medium) */
.link-item img.thumbnail-preview {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 7px;
    position: absolute; /* Place la vignette */
    left: 10px; /* Distance depuis le bord gauche */
    top: 50%; /* Centrage vertical */
    transform: translateY(-50%); /* Ajuste pour centrer parfaitement */
}

/* Vignette large */
.link-item.height-large img.thumbnail-preview {
    width: 100%;
    height: 100%; /* La vignette prend 70% de la hauteur */
    object-fit: cover; /* Remplit sans déformer */
    position: absolute;
    top: 90px;
    left: 0;
    z-index: 0; /* Derrière le texte */
}

/* Conteneur de texte */
.link-item .link-title {
    flex-grow: 1; /* Texte prend l'espace restant */
    text-align: center;
    color: #333;
}

/* Texte superposé pour large */
.link-item.height-large .link-text-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%; /* Le texte prend 30% de la hauteur */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    z-index: 1; /* Devant la vignette */
}

.link-item.height-large .link-title {
    color: #fff !important;
    text-align: center;
    padding: 5px;
}

/* Coins spécifiques */
.link-item.corner-none {
    border-radius: 0px;
}

.link-item.corner-medium {
    border-radius: 10px;
}

.link-item.corner-high {
    border-radius: 20px;
}

/* Hover (général pour tous les liens) */
.link-item:hover {
    background-color: #e0e0e0; /* Changement de fond au survol */
    transform: translateY(-2px); /* Léger déplacement vers le haut */
}

/*OMBRES*/
.link-item.shadow-none {
    box-shadow: none;
}

.link-item.shadow-light {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.link-item.shadow-solid {
    box-shadow: 5px 6px 0px rgba(0, 0, 0, 1);
}


/* Style des titres */
.title-item {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 15px 0;
    padding: 10px;
}

/* Réduire les marges entre les titres et les liens */
.contact-info .title-item + .link-item,
.contact-info .link-item + .title-item {
    margin-top: 10px;
}






/* Style général du carrousel */
.carousel-item {
    margin: 20px 0;
    position: relative;
}

/* Conteneur pour les slides du carrousel */
.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    padding-bottom: 10px; /* Espacement pour la barre de défilement */
    scroll-snap-type: x mandatory; /* Permet d'ajouter un défilement fluide */
}

.carousel-slide {
    flex: 0 0 80%; /* Chaque image prend 80% de la largeur */
    max-width: 80%; /* Limite à 80% de l'écran */
    position: relative;
    scroll-snap-align: start; /* Ancrage au début du conteneur visible */
    transition: transform 0.3s ease; /* Animation douce */
    padding: 0 15px;
}

/* Si le carrousel ne contient qu'une seule image, celle-ci prend 100% de la largeur */
.carousel-slide.single-image {
    flex: 0 0 91%;
    max-width: 91%;
}

.carousel-slide img {
    width: 100%; /* L'image remplit le slide */
    height: auto; /* Respecte les proportions */
    border-radius: 8px;
    box-shadow: 5px 6px 8px rgba(0, 0, 0, 0.5); /* Ajoute une ombre */
}

.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-slide a img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-caption-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    color: #fff;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 0px 0px 7px 6px;
    z-index: 2;
}

/* Conteneur qui englobe l'image et la légende */
.carousel-media-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Légende des images */
.carousel-caption {
    font-size: 14px;
    margin: 0;
    padding: 5px;
    text-align: center;
}

/* Points de pagination sous le carrousel */
.carousel-pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 5px;
}

/* Style des points de pagination */
.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-dot.active {
    background-color: rgba(0, 0, 0, 0.7); /* Couleur des points actifs */
}

.carousel-dot:hover {
    background-color: rgba(0, 0, 0, 0.5); /* Couleur au survol */
}

/* Barre de défilement fine sous le carrousel */
.carousel-container::-webkit-scrollbar {
    height: 4px; /* Hauteur de la barre de défilement */
}

.carousel-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3); /* Couleur de la barre de défilement */
    border-radius: 2px;
}

.carousel-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5); /* Couleur au survol */
}

.carousel-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* Couleur de l’arrière-plan */
}

/* Ancien style des boutons Précédent/Suivant (désactivé mais conservé au cas où) */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10;
    display: none; /* Masqué car remplacé par les points de pagination */
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}


/* Suppression des marges pour les carrousels dans contact-info */
.contact-info .carousel-item {
    margin-left: -15px;
    margin-right: -15px;
}


.multi-platform-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    background-color: var(--background-color, rgba(0, 0, 0, 1)); /* Par défaut */
    transition: background-color 0.3s ease-in-out;
}

.modal-cover-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.modal-cover-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
}

.modal-track-info {
    text-align: center;
}

.modal-track-title {
    font-size: 16px;
    font-weight: bold;
    display: block;
    color: #000;
}

.modal-artist-name {
    font-size: 14px;
    color: #666;
    display: block;
}

.platform-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px; /* Ajuster selon la largeur désirée */
    margin: 0 auto; /* Centrer les éléments */
}

.platform-link {
    display: flex;
    align-items: center;
    justify-content: start; /* Aligner à gauche */
    background: #f1f1f1;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    max-width: 100%; /* Évite le débordement */
    margin: 0 auto; /* Centrage */
    width: 80%; /* Ajuste la largeur des liens */
}

.platform-link:hover {
    background: #ddd;
}

.platform-icon {
    width: 24px; /* Légèrement plus grand pour meilleure visibilité */
    height: 24px;
    margin-right: 10px; /* Espacement entre l'icône et le texte */
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
}

.platform-link span {
    flex-grow: 1; /* Le texte prend tout l'espace disponible */
    text-align: center; /* Centrer le texte */
    margin-left: -33px;
}

/* Mise à jour des blocs plateforme dans la modale */
.platform-link {
    background-color: var(--block-color, #f1f1f1);
    color: var(--text-color, #333);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Mise à jour du texte dans la modale */
.modal-track-title,
.modal-artist-name {
    color: var(--text-color, #000);
    transition: color 0.3s ease;
}

.close-modal {
    margin-top: 15px;
    padding: 10px;
    background: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}





/* Footer */
.footer-logo {
    padding: 20px;
    text-align: center;
}

.footer-logo p {
    margin-top: 0;
}

.quaantum-logo {
    width: 120px;
    height: auto;
}

.quaantum-link {
    color: #7d600f; /* Couleur jaune */
    text-decoration: none;
    font-size: 14px;
}

.quaantum-link:hover {
    text-decoration: underline;
}

.legal-block {
    text-align: center;
    padding: 10px;
}

.legal {
    color: #b6b6b6;
    font-size: 12px;
    margin: 0 10px;
    text-decoration: none;
}

.legal:hover {
    text-decoration: underline;
}



/*COOKIES GESTION*/
/* 🍪 Bannière des cookies */
.cookie-banner {
    position: fixed;
    bottom: -100px;              /* cachée au début */
    left: 0;
    right: 0;                    /* ✅ au lieu de width:100% */
    width: auto;
    max-width: 100%;
    box-sizing: border-box;      /* ✅ padding n'augmente plus la largeur totale */
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;               /* OK, ne fera plus déborder */
    display: flex;
    opacity: 0;
    transition: bottom 0.7s ease-out, opacity 0.7s ease-out;
    z-index: 1000;
    pointer-events: none;        /* pas de clics quand cachée */
  }  

/* ✅ Classe pour activer l'affichage progressif */
.show-cookie-banner {
    bottom: 0; /* ✅ Fait remonter la bannière */
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.cookie-banner a {
    color: #ccc;
    font-size: 14px;
    text-decoration: underline;
}

/* ✅ Style pour afficher correctement la modale */
.cookie-modal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;                 /* ✅ au lieu de width:100% */
    width: auto;
    max-width: 100%;
    box-sizing: border-box;   /* ✅ */
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    border-radius: 0;
    z-index: 1001;
  }  

/* ✅ Ajouter un fond semi-transparent derrière la modale */
.cookie-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.cookie-buttons,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;   /* ✅ autorise le retour à la ligne si serré */
  gap: 10px;
  margin: 5px 0 15px;
  align-items: center;
}


.cookie-buttons button {
    background: #f3c12c;
    color: rgb(0, 0, 0);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
}

#cookie-back-btn {
    background: #555;
    color: white;
}

#cookie-accept-all-btn {
    background: none;
    color: #f3c12c;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.cookie-options-checked #cookie-accept-all-btn {
    color: rgb(255, 255, 255);
    font-weight: normal;
}

.cookie-options-checked #cookie-save-btn {
    background: none;
    color: #f3c12c;
    font-weight: bold;
}

#cookie-save-btn {
    background: none;
    color: #ffffff;
}

#cookie-settings-btn {
    background: #555;
    color: white;
}

.cookie-content,
.cookie-modal-content {
  display: flex;
  flex-direction: column;
  gap: 15px;               /* tu l'avais sur .cookie-modal-content, on l’aligne */
  max-width: 600px;
  width: 100%;             /* ✅ prendre toute la ligne disponible */
  box-sizing: border-box;  /* ✅ padding sans débordement */
  margin: 0 auto;
  text-align: left;
  padding-left: 20px;      /* tu l’avais sur .cookie-content, on garde */
}


.cookie-content span {
    font-size: 18px; /* ✅ Plus grand */
    font-weight: bold; /* ✅ Plus gras */
    display: block;
    margin-bottom: 5px;
}

#cookie-decline-link {
    color: #898989;
    font-size: 12px; /* ✅ Plus petit */
    text-decoration: underline;
    align-self: flex-start; /* ✅ Aligner à gauche */
    margin-bottom: 5px; /* ✅ Ajouter un petit espace */
}

.cookie-actions button {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}


.cookie-buttons button,
.cookie-actions button {
  background: #f3c12c;
  color: #000;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 5px;

  /* ✅ essentiel en flexbox pour éviter d’étirer la ligne */
  min-width: 0;
  flex: 1 1 auto;   /* se partagent la place sans pousser la largeur */
}



@media (max-width: 420px) {
    .cookie-content {
      padding: 12px;        /* moins de padding horizontal */
      max-width: 100%;
    }
  
    .cookie-content span {  /* titre */
      font-size: 16px;
      line-height: 1.2;
    }
  
    .cookie-content p {
      font-size: 13px;
      line-height: 1.35;
      margin: 8px 0 10px;
    }
  
    .cookie-buttons {
      flex-wrap: wrap;       /* permet le retour à la ligne */
      gap: 8px;
    }
  
    .cookie-buttons button {
      flex: 1 1 140px;       /* 2 boutons par ligne si possible */
      min-width: 0;
      padding: 10px 12px;
      font-size: 14px;
    }
  
    /* Lien "Continuer sans accepter" plus compact */
    #cookie-decline-link {
      font-size: 11px;
      margin-bottom: 6px;
    }
  
    /* Modale cookies : bord à bord et texte lisible */
    .cookie-modal {
      padding: 14px;
    }
    .cookie-modal-content {
      max-width: 100%;
      gap: 10px;
    }
    .cookie-actions {
      flex-wrap: wrap;
      gap: 8px;
    }
    .cookie-actions button {
      flex: 1 1 140px;
      font-size: 14px;
      padding: 10px 12px;
    }
  }

  