/* ========================================= */
/* ===== 01. GLOBAL & RESET & FONTES ======= */
/* ========================================= */

/* Reset de base */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Font personnalisée */
@font-face {
    font-family: 'First Place';
    src: url('font/FirstPlace.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Visuellement caché pour accessibilité */
.hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* Base HTML et Body */
html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    animation: fadeIn 1.5s ease-out;
    background-color: #000000;
    color: #e0e0e0;
    font-family: 'Consolas', 'Menlo', 'Courier New', monospace;
    line-height: 1.6;
}

/* Animation de base */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Images */
img { 
    max-width: 100%;
    height: auto;
    display: block;
}
h1 {
    font-family: 'First Place', Arial, sans-serif;
    font-size: 4rem;
    color: #f0f0f0;
    margin: 0;
    text-align: center;
}

/* ========================================= */
/* ===== 02. STRUCTURE GÉNÉRALE & TYPO ===== */
/* ========================================= */

/* Particules de fond (fixe) */
#particules {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Sections */
section {
    width: 100%;
    padding: 80px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Conteneur de contenu */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Titres H2 et H3 (Font personnalisée) */
h2, h3 {
    font-family: 'First Place', Arial, sans-serif;
    color: #f0f0f0;
    text-shadow: none;
    margin: 0 0 40px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

/* Paragraphes et Emphases */
p {
    margin: 0 0 1rem 0;
    color: #b0b0b0;
}

strong {
    color: #fad33d;
    font-weight: bold;
}

em {
    font-style: italic;
    color: #4c4c4c;
    font-size: small;
}
.accentlight {
    color: #f8e494;
    font-weight: bold;
}

/* ========================================= */
/* ===== 03. SECTION HERO (ACCUEIL) ======== */
/* ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0px 20px;
    background: transparent;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


/* Viewer 3D */
.medaillon-container {
    width: 350px;
    height: 350px;
    max-width: 90vw;
    max-height: 90vw;
}

model-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid #333;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.stat:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: #f0f0f0;
}
a:focus {
    outline: 2px solid #fad33d;
    outline-offset: 2px;
}


.stat img {
    width: 30px;
    height: 30px;
}

.stat p {
    margin: 0;
    color: #e0e0e0;
}

.epkTxt {
    font-family: 'First Place', Arial, sans-serif;
    font-size: 20px;
    color: #f0f0f0;
    margin: 0;
}

/* Flèche scrolldown */
.arrowDown {
    width: 20px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.arrowDown:hover {
    transform: translateY(5px);
    filter: drop-shadow(0 0 5px white);
}

/* ========================================= */
/* ===== 04. SECTION PRÉSENTATION & MODULES = */
/* ========================================= */

.presentation {
    background-color: #0a0a0a;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.columns {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

.col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Module de contenu */
.module {
    background: #000000;
    padding: 24px;
    border: 1px solid #333;
}



.module img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #333;
}

/* Wrapper vidéo 16:9 */
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 1px solid #333;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ========================================= */
/* ===== 05. SECTION DISCOGRAPHIE (CAROUSEL) */
/* ========================================= */

.discographie {
    padding: 60px 0;
    background: #000000;
}

.discographie h2 {
    padding: 0 20px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.carousel-track {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    padding: 10px;
    animation: scrollCarousel 35s linear infinite;
    will-change: transform;
}

/* Élément d'album */
.album {
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.album img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 1px solid #444;
    box-shadow: 0 0 8px rgba(255,255,255,0.05);
    transition: transform 0.35s ease, box-shadow 0.4s ease, filter 0.35s ease;
}

.album p {
    margin-top: 12px;
    font-size: 16px;
    color: #f0f0f0;
    font-family: 'First Place', Arial, sans-serif;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.album:hover img {
    transform: scale(1.08);
    filter: brightness(1.2);
    box-shadow: 0 0 18px rgba(255,255,255,0.25), 0 0 40px rgba(255,255,255,0.15);
}

.album:hover p {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================= */
/* ===== 06. SECTION CONTACT =============== */
/* ========================================= */

.contact {
    padding: 40px 0;
    background: #0a0a0a;
    border-top: 1px solid #333;
}

.contact h2 {
    font-size: 2.3rem;
    margin-bottom: 50px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-list li a {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: 'First Place', Arial, sans-serif;
    font-size: 18px;
    text-decoration: none;
    color: #e0e0e0;
    padding: 10px 5px;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.contact-list li a img {
    width: 30px;
    height: auto;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.contact-list li a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.35);
    transform: translateX(6px);
}

.contact-list li a:hover img {
    filter: brightness(1.2);
}


.contact-list li a::after {
    content: attr(data-user);
    position: absolute;
    right: -120px;
    opacity: 0;
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;
    color: #aaaaaa;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateX(10px);
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .contact-list li a:hover::after {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================= */
/* ===== 07. FOOTER & ÉLÉMENTS DIVERS ====== */
/* ========================================= */

/* Séparateur */
.separator {
    width: 100%;
    height: 1px;
    background: #333;
    margin: 50px 0;
}

/* GIF de fin */
.end-gif {
    display: flex;
    justify-content: center;
    padding: 20px 0 40px 0;
}

.end-gif img {
    height: 200px;
    width: auto;
}

/* Pied de page */
.footer {
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    font-family: 'Consolas', 'Menlo', monospace;
    background: #000;
    border-top: 1px solid #222;
}

.footer p {
    margin: 0;
    color: #888;
}

/* Lien de crédit */
.credit-link {
    color: #888;
    text-decoration: underline;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.credit-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #fad33d;
}

.spotifyWrapper {
    position: relative;
    width: 100%;
    padding-bottom: 80%; /* Ratio 1:0.8 */
    height: 0;
    overflow: hidden;
    border: 1px solid #333;
}

.spotifyWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Images de presse */
.presse-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 20px 0;
    border: 1px solid #333;
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    cursor: default;
}

.presse-image:hover {
    transform: scale(1.03);
    filter: brightness(1.15);
    box-shadow: 0 0 18px rgba(255,255,255,0.25), 0 0 40px rgba(255,255,255,0.15);
}

.presse-image.vertical {
    aspect-ratio: 2 / 3;
}

.presse-image.horizontal {
    aspect-ratio: 2 / 1;
}

/* ========================================= */
/* ===== 08. SECTION BEE (SPECIFIQUE) ====== */
/* ========================================= */

.bee {
    padding: 60px 0;
    background: #0a0a0a;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    text-align: left;
}

.bee h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.bee-description {
    font-size: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.bee-description-gauche {
    flex: 1;
    text-align: left;
}
.bee-description-droite {
    flex: 1; 
    text-align: right;
}
.bee-description-center {
    text-align: center;
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 25px;
}
.emph {
    font-style: italic;
    color: #c7c7c7;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.emph:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255,255,255,0.25);
}

@media (max-width: 900px) {
    .bee-description {
        flex-direction: column;
        text-align: left;
    }
    .bee-description-droite {
        text-align: left;
    }
}
/* Pistes */
.bee-tracks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.bee-tracks .track {
    background: rgba(10, 10, 10, 0.8);
    padding: 12px 20px;
    border: 1px solid #333;
    color: #e0e0e0;
    font-family: 'Consolas', 'Menlo', monospace;
    font-size: 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.bee-tracks .track:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: #f0f0f0;
}

.bee .spotifyWrapper {
    padding-bottom: 0;
    height: 380px;
    max-width: 600px; 
    margin: 0 auto;
}

.bee .spotifyWrapper iframe {
    height: 100%;
}


/* ========================================= */
/* ===== 09. RESPONSIVE (MEDIA QUERIES) ==== */
/* ========================================= */

/* Pour les écrans de taille moyenne (max-width: 900px) */
@media (max-width: 900px) {
    .columns {
        flex-direction: column;
        gap: 40px;
    }

    .col {
        width: 100%;
    }
}

/* Pour les tablettes et grands mobiles (max-width: 768px) */
@media (max-width: 768px) {
    /* Titres */
    h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        word-wrap: break-word;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    /* Discographie */
    .album { flex: 0 0 160px; }
    .album img { width: 150px; height: 150px; }

    @keyframes scrollCarousel {
        100% { transform: translateX(-55%); }
    }

    /* Contact */
    .contact-list li a {
        font-size: 16px;
    }

    .bee .spotifyWrapper {
        height: 300px;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    /* Discographie */
    .carousel-track {
        gap: 14px;
    }

    .album {
        flex: 0 0 130px;
    }

    .album img {
        width: 120px;
        height: 120px;
    }
}