/* =====================
   VARIABLES GLOBALES
===================== */
:root {
    --couleur-fond: #0a0a0a;        /* Noir profond */
    --couleur-texte: #e8e4dc;           /* Blanc cassé : #e8e4dc */
    --couleur-accent: #c9a84c;          /* Doré ciné : #c9a84c */
    --couleur-secondaire: #4e4e4e;  /* Gris très sombre */
    --couleur-third: #edab6a;
    --couleur-tertiaire: #488e97;
    --police-titre: 'Cormorant Garamond', serif;  /* Élégant */
    --police-titre-h2: 'Bebas Neue', sans-serif;
    --police-texte: 'Inter', sans-serif;
}


/* =====================
   RESET DE BASE
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-image {
    background: linear-gradient(
            to bottom,
            #1a1a1a 0%,
            #0a0a0a 40%,
            #0a0a0a 100%) fixed #0a0a0a;
}
body.page-image::before {
    display: none;
}


/* =====================
   MENU HAMBURGER
===================== */

/* Bouton hamburger */
#menu-btn {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    z-index: 200;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1vw, 8px);
    padding: 0.8rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

#menu-btn span {
    display: block;
    width: clamp(28px, 5vw, 40px);
    height: 3px;
    background: var(--couleur-texte);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-btn:hover span {
    background: var(--couleur-accent);
}

/* Menu latéral */
#menu-lateral {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: #080808;
    border-left: 1px solid #1a1a1a;
    z-index: 300;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0.5rem;
    transform: translateX(0);
    transition: transform 0.4s ease;
}

/* Menu fermé */
#menu-lateral.menu-ferme {
    transform: translateX(100%);
}

/* Bouton fermer */
#menu-fermer {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--couleur-texte);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

#menu-fermer:hover {
    color: var(--couleur-accent);
}

/* Liens du menu */
#menu-lateral ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#menu-lateral a {
    font-family: var(--police-titre-h2), serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--couleur-texte);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

#menu-lateral a:hover {
    color: var(--couleur-accent);
    transform: translateX(8px);
}

/* Fond sombre derrière le menu */
#menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200;
    transition: opacity 0.4s ease;
    opacity: 1;
}

#menu-overlay.menu-ferme {
    opacity: 0;
    pointer-events: none;
}

/* =====================
   HEADER
===================== */
#header-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;  /* logo à gauche, burger à droite */
    align-items: center;
    z-index: 200;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.9) 30%,    /* ← augmente l'opacité ici */
            rgba(0, 0, 0, 0.0) 100%
    );
}

#logo {
    text-decoration: none;
    color: var(--couleur-texte);
    font-family: var(--police-titre), serif;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

#logo img {
    height: clamp(40px, 6vw, 70px); /* min, préféré, max */
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

/* =====================
   HERO — TITRE À GAUCHE
===================== */
#hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}
#hero-image {
    position: relative;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;  /* contenu en bas à gauche */
    background-image: url("https://res.cloudinary.com/jyllfp1b/image/upload/v1790687490/img-musicAlimage/img-filmMedusa.jpg");
    background-size: cover;
    background-position: center;
}

#hero-contenu {
    position: relative;
    z-index: 2;
    padding: 4rem 2.5rem;   /* aligné à gauche */
    text-align: left;       /* titre à gauche */
    max-width: 600px;
}

#hero-titre {
    font-family: var(--police-titre-h2), serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    color: var(--couleur-texte);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    animation: apparition 1s ease forwards;
    opacity: 0;

    /* Lignes décoratives */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#hero-titre::before,
#hero-titre::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--couleur-accent), transparent);
}

#hero-soustitre {
    font-family: var(--police-titre-h2), sans-serif;
    font-size: 1rem;
    color: var(--couleur-texte);
    opacity: 0;
    line-height: 1.8;
    animation: apparition 1s ease forwards;
    animation-delay: 0.4s;
}

/* Flèche scroll */
#hero-fleche {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--couleur-texte);
    font-size: 2rem;
    opacity: 0.5;
    text-decoration: none;
    animation: rebond 2s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

#hero-fleche:hover {
    opacity: 1;
}

/* =====================
   MINI LECTEUR
===================== */
#mini-lecteur {
    position: fixed;
    top: 1rem;          /* ← en haut */
    left: 1.5rem;       /* ← à gauche */
    bottom: auto;       /* ← annule le bas */
    width: auto;        /* ← pas pleine largeur */
    max-width: 320px;
    background: rgba(5, 5, 5, 0.92);
    border: 1px solid var(--couleur-accent);
    border-radius: 4px;
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 150;
    transition: transform 0.4s ease;
}

/* Supprime la classe qui le cache au départ */
#mini-lecteur.mini-cache {
    transform: translateX(-120%);  /* ← glisse vers la gauche au lieu du bas */
}

#mini-infos {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    min-width: 200px;
}

#mini-numero {
    font-family: var(--police-titre), serif;
    font-size: 0.8rem;
    opacity: 0.5;
    color: var(--couleur-accent);
}

#mini-titre {
    font-family: var(--police-titre-h2), serif;
    font-size: 1.1rem;
    color: var(--couleur-accent);
}

#mini-controls {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

#mini-controls button {
    background: none;
    border: 1px solid var(--couleur-accent);
    color: var(--couleur-accent);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease;
}

#mini-controls button:hover {
    background: var(--couleur-accent);
    color: #000;
}

#mini-barre-container {
    flex: 1;
    height: 2px;
    background: #333;
    border-radius: 2px;
    cursor: pointer;
}

#mini-barre {
    height: 100%;
    width: 0;
    background: var(--couleur-accent);
    border-radius: 2px;
    transition: width 0.1s linear;
}


/* =====================
   LECTEUR EXTRAITS
===================== */
#lecteur-extraits {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    background: rgba(8, 8, 8, 0.8);
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 2rem;
    max-width: 800px;
    transition: border-color 0.3s ease;
}

#lecteur-extraits:hover {
    border-color: var(--couleur-accent);
}

/* Visuel / cover */
#extraits-visuel {
    flex-shrink: 0;
}

#extraits-cover {
    width: 160px;
    height: 160px;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* Quand une vraie image est dispo */
#extraits-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    filter: grayscale(30%);
}

#extraits-contenu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

#extraits-entete {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    font-family: var(--police-titre-h2), serif;
}

#extraits-numero {
    font-family: var(--police-titre), serif;
    font-size: 0.8rem;
    opacity: 0.4;
    color: var(--couleur-accent);
}

#extraits-titre {
    font-family: var(--police-titre-h2), serif;
    font-size: 1.4rem;
    color: var(--couleur-accent);
}

#extraits-ambiance {
    font-size: 0.85rem !important;
    opacity: 0.5 !important;
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* Barre */
#extraits-barre-container {
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 2px;
    cursor: pointer;
}

#extraits-barre {
    height: 100%;
    width: 0;
    background: var(--couleur-accent);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Temps */
#extraits-temps {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    opacity: 0.5;
}

/* Boutons */
#extraits-boutons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

#extraits-boutons button {
    background: none;
    border: 1px solid var(--couleur-accent);
    color: var(--couleur-accent);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s ease, color 0.2s ease;
}

#extraits-boutons button:hover {
    background: var(--couleur-accent);
    color: #000;
}

/* Liste extraits */
#extraits-liste {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

#extraits-liste li {
    font-size: 0.8rem;
    opacity: 0.5;
    cursor: pointer;
    padding: 0.3rem 0;
    border-bottom: 1px solid #1a1a1a;
    transition: opacity 0.2s ease, color 0.2s ease;
    display: flex;
    gap: 0.8rem;
}

#extraits-liste li:hover,
#extraits-liste li.active {
    opacity: 1;
    color: var(--couleur-accent);
}

/* Responsive */
@media (max-width: 768px) {
    #lecteur-extraits {
        flex-direction: column;
    }
    #extraits-cover {
        width: 100%;
        height: 180px;
    }
}

/* =====================
   À PROPOS IMAGE
===================== */
#apropos-image {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Blocs */
.apropos-bloc {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Texte en 2 colonnes */
.apropos-texte-colonnes {
    display: grid;             /* ← grid au lieu de columns */
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.apropos-texte-colonnes p {
    font-size: 1rem;
    line-height: 2;
    opacity: 0.85;
    margin-bottom: 1rem;
    break-inside: avoid;
    text-align: justify;
}

.col-gauche,
.col-droite {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.col-gauche p,
.col-droite p {
    font-size: 1rem;
    line-height: 2;
    opacity: 0.85;
    text-align: justify;
}
/* Citation */
.apropos-citation {
    font-family: var(--police-titre), serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    line-height: 1.8;
    color: var(--couleur-texte);
    border: none;
    border-left: 3px solid var(--couleur-accent);
    padding: 1rem 2rem;
    margin: 0;
    background: rgba(201, 168, 76, 0.05);
    border-radius: 0 4px 4px 0;
}

/* Sous-titres */
.apropos-sous-titre {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--couleur-accent);
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

/* Versions disponibles */
.apropos-versions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.apropos-versions span {
    border: 1px solid var(--couleur-accent);
    color: var(--couleur-accent);
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
    text-align: center;
    white-space: nowrap;
}

/* Séparateur */
.apropos-separateur {
    width: 100%;
    height: 1px;
    background: linear-gradient(
            to right,
            transparent,
            var(--couleur-accent),
            transparent
    );
    opacity: 0.3;
}

/* BLOC AWARD */
.apropos-award {
    display: flex;
    flex-direction: column;  /* ← colonne au lieu de row */
    gap: 2rem;
}

.award-contenu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.award-contenu h4 {
    font-family: var(--police-titre), serif;
    font-size: 1.2rem;
    color: var(--couleur-accent);
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.award-contenu p {
    font-size: 0.95rem;
    line-height: 1.9;
    opacity: 0.8;
}

.award-contenu em {
    color: var(--couleur-accent);
    font-style: italic;
}

.award-lien {
    display: inline-block;
    margin-top: 1rem;
    color: var(--couleur-accent);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--couleur-accent);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.award-lien:hover {
    opacity: 0.7;
}

.award-visuel {
    width: 100%;      /* ← pleine largeur */
    margin-top: 2rem;
}

.award-visuel img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #2a2a2a;
}

/* Responsive */
@media (max-width: 768px) {
    .apropos-texte-colonnes {
        grid-template-columns: 1fr;
    }

    .apropos-award {
        flex-direction: column;
    }

    .award-visuel {
        width: 100%;
    }
}

/* =====================
   RÉALISATIONS
===================== */
#realisations {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Titre centré avec lignes */
#realisations-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.realisations-ligne {
    flex: 1;
    height: 1px;
    background: var(--couleur-accent);
    opacity: 0.4;
}

#realisations-header h2 {
    white-space: nowrap;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 0;
}

#realisations-soustitre {
    text-align: center;
    opacity: 1;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

/* Filtres */
#filtres {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filtre {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--couleur-texte);
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: var(--police-texte), sans-serif;
}

.filtre:hover {
    border-color: var(--couleur-accent);
    color: var(--couleur-accent);
}

.filtre.actif {
    background: var(--couleur-accent);
    border-color: var(--couleur-accent);
    color: #000;
}

/* Cartes projets */
#liste-projets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.carte-projet {
    display: flex;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.carte-projet:hover {
    border-color: var(--couleur-accent);
}

/* Vidéo à gauche */
.projet-media {
    flex-shrink: 0;
    width: 280px;
    aspect-ratio: 16 / 9;
    position: relative;
}

.projet-media iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Infos à droite */
.projet-infos {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
}

.projet-tag {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--couleur-accent);
    opacity: 0.8;
}

.projet-infos h3 {
    font-family: var(--police-titre), serif;
    font-size: 1.5rem;
    color: var(--couleur-texte);
    margin-bottom: 0;
}

.projet-infos p {
    font-size: 0.9rem;
    opacity: 0.65;
    line-height: 1.7;
}

.projet-btn {
    display: inline-block;
    color: var(--couleur-accent);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.projet-btn:hover {
    opacity: 0.7;
    transform: translateX(4px);
}

/* Carte cachée par le filtre */
.carte-projet.cachee {
    display: none;
}

/* =====================
   CONTACT DÉDIÉ
===================== */
#contact-image {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

#contact-image h2 {
    margin-bottom: 1rem;
}

#contact-image p {
    margin-bottom: 2rem;
    opacity: 0.85;
}



/* Responsive */
@media (max-width: 768px) {
    .carte-projet {
        flex-direction: column;
    }

    .projet-media {
        width: 100%;
    }
}