* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: #000000 !important;
    color: #ffffff !important;
    position: relative;
}

.home-return-btn {
    position: fixed; /* Utilise 'fixed' pour qu'il reste fixe par rapport à la fenêtre/écran */
    top: 50%;        /* Le place exactement au milieu de la hauteur de l'écran */
    left: 40px;      /* Garde ton espacement de 40px par rapport au bord gauche de l'écran */
    transform: translateY(-50%); /* Décale le bouton vers le haut de la moitié de sa propre hauteur pour le centrer parfaitement */
    z-index: 100;
    font-family: 'Inter', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.home-return-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.hud-micro-text {
    position: absolute;
    font-family: 'Inter', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    z-index: 10;
    text-transform: uppercase;
}

.hud-micro-text.top-left { top: 35px; left: 180px; }
.hud-micro-text.top-right { top: 35px; right: 40px; }
.hud-micro-text.bottom-left { bottom: 35px; left: 40px; }
.hud-micro-text.bottom-right { bottom: 35px; right: 40px; }

.vertical-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.v-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.v-line.l-1 { left: 18%; }
.v-line.l-2 { left: 35%; }
.v-line.l-3 { left: 64%; }
.v-line.l-4 { left: 85%; }

.project-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.project-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.proj-index {
    font-family: 'Inter', monospace;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.project-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* ==========================================
   CONTENEUR VIDÉO & LUEUR DYNAMIQUE (AMBIENT GLOW)
========================================== */
.video-hud-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: visible; /* Important pour que la lueur dépasse du cadre */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ambient-glow {
    position: absolute;
    inset: -35px; /* Augmenté de -15px à -35px pour qu'elle s'étale plus loin sur l'écran */
    background: rgba(255, 255, 255, 0.25); /* Opacité de base plus forte */
    filter: blur(55px); /* Flou plus large pour un effet "halo lumineux" étendu */
    z-index: -1;
    opacity: 0.9; /* Opacité globale augmentée (au lieu de 0.6) */
    pointer-events: none;
    transition: background 0.3s ease; /* Transition encore plus réactive */
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.hud-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: #ffffff;
    border-style: solid;
    pointer-events: none;
    z-index: 5;
}
.hud-corner.top-left { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.hud-corner.top-right { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.hud-corner.bottom-left { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.hud-corner.bottom-right { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    font-family: 'Inter', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.fullscreen-btn:hover {
    background: #ffffff;
    color: #000000;
}

.project-description-box {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255,er 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px 22px;
    min-height: 85px;
}

.project-description-box p {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-dot {
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
}

