/* ==========================================
   RESET & FOND SOMBRE STYLE BRUTALISTE
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background-color: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
    cursor: none;
}

/* ==========================================
   ARRIÈRE-PLAN VIDÉO & EFFET DE MASQUE MAGIQUE
========================================== */
.video-background-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bg-video.active {
    opacity: 1;
}

/* Calque noir par-dessus tout qui cache la vidéo, 
   sauf au niveau de la variable CSS du curseur */
.reveal-mask {
    position: fixed;
    inset: 0;
    background-color: #000000;
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle 180px at var(--x, -500px) var(--y, -500px), transparent 0%, black 100%);
    mask-image: radial-gradient(circle 180px at var(--x, -500px) var(--y, -500px), transparent 0%, black 100%);
}

/* ==========================================
   LIGNES DE SUSPENSION VERTICALES (BLANCHES)
========================================== */
.vertical-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.v-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.v-line.l-1 { left: 33vw; }
.v-line.l-2 { left: 36vw; }
.v-line.l-3 { left: 64vw; }
.v-line.l-4 { left: 70vw; }

/* ==========================================
   STEPPER GAUCHE (NUMÉROS + BÂTON EN BAS)
========================================== */
.left-stepper {
    position: absolute;
    top: 0;
    left: 80px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.step-numbers {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.step-num.active {
    color: #ffffff;
    font-weight: 900;
    transform: translateX(4px);
}

/* Bâton horizontal en bas à gauche */
.bottom-bar-indicator {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 50px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 2px;
    filter: blur(1.5px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   ZONE PRINCIPALE & BLOC INDEX
========================================== */
.main-stage {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    z-index: 5; /* Au-dessus du masque et de la vidéo pour rester lisible */
}

.index-content-zone {
    position: absolute;
    left: 42vw;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.index-title {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #ffffff;
    line-height: 1;
}

.projects-list-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 380px;
}

.project-item {
    display: flex;
    gap: 15px;
    opacity: 0.3;
    transition: opacity 0.4s ease, transform 0.4s ease;
    cursor: pointer;
}

.project-item.active {
    opacity: 1;
    transform: translateX(10px);
}

.proj-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 2px;
    color: #ffffff;
}

.proj-text-box p {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.proj-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 2px;
}

/* ==========================================
   MICRO-TEXTES HUD PÉRIPHÉRIQUES (COINS)
========================================== */
.hud-micro-text {
    position: absolute;
    font-family: 'Inter', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

.hud-micro-text.top-left { top: 25px; left: 35px; }
.hud-micro-text.top-right { top: 25px; right: 35px; }
.hud-micro-text.bottom-left { bottom: 25px; left: 35px; }
.hud-micro-text.bottom-right { bottom: 25px; right: 35px; }

/* ==========================================
   CURSEUR PERSONNALISÉ (BLANC)
========================================== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none !important;
    z-index: 99999;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.2s ease, height 0.2s ease;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 50%;
}

.custom-cursor.hovered {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15);
}

.home-return-btn {
    position: fixed;
    top: 30px;
    right: 50px;
    z-index: 10000;
    font-family: 'Inter', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}
.home-return-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}