/* Police neutre pour le corps du texte et les titres */
@font-face {
    font-family: 'NeutralFace';
    src: url('fonts/NeutralFace 2.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeutralFace';
    src: url('fonts/NeutralFace-Bold 2.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Police manuscrite pour les détails et le logo */
@font-face {
    font-family: 'Ballet';
    src: url('fonts/Ballet-Regular-VariableFont_opsz 2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Cache le vrai curseur sur tout le site */
body {
    cursor: none;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: white;
}

@media (max-width: 768px) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
    body {
        cursor: auto;
    }
}

/* On désactive le curseur par défaut partout */
body, a, button, .sommaire-item, .enter-btn {
    cursor: none !important;
}

.cursor-dot,
.cursor-outline {
    pointer-events: none;
    z-index: 9999;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Base élégante */
body {
    margin: 0;
    padding: 0;
    background-color: #0d0d0d;
    color: #f2f2f2;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/Background3 base.png') center/cover no-repeat;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* --- SUPPRESSION DU BLOC HEADER/NAV ICI --- */

.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.home-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background-color: #000;
}

.home-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(20%) contrast(110%);
}

.overlay-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.sommaire-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    z-index: 10;
}

.sommaire-list {
    width: 100%;
}

.sommaire-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: baseline;
    cursor: pointer;
    transition: all 0.4s ease;
}

.number {
    font-size: 0.8rem;
    margin-right: 30px;
    opacity: 0.5;
}

.item-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    margin: 0;
    text-transform: uppercase;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.sommaire-item:hover .item-text {
    transform: translateX(20px);
    opacity: 0.7;
}

.sommaire-item:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.hover-reveal {
    position: fixed;
    width: 450px;
    height: 550px;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
}

.hidden-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hover-reveal { display: none; }
    .sommaire-container { padding: 0 5%; }
    .item-text { font-size: 1.5rem; }
}

/* SPLASH SCREEN */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
}

.splash-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.enter-btn {
    position: relative;
    z-index: 10;
    color: white;
    font-size: 0.8rem;
    letter-spacing: 4px;
    padding: 20px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* PORTFOLIO (Caché au chargement) */
#portfolio-content {
    opacity: 0;
    visibility: hidden;
    position: relative;
    z-index: 1;
}

.main-bg-texture {
    position: fixed;
    inset: 0;
    background: url('assets/Background3 base.jpg') center/cover;
    opacity: 0.15;
    z-index: -1;
}

body {
    font-family: 'NeutralFace', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.enter-btn {
    font-family: 'NeutralFace', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.item-text {
    font-family: 'NeutralFace', sans-serif;
    font-weight: 100;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
}

.number,
.logo {
    font-family: 'Ballet', cursive;
    font-size: 1.4rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Gestion des sections */
.page-section-hidden {
    position: fixed;
    inset: 0;
    display: none;
    opacity: 0;
    z-index: 50;
    background: transparent;
}

/* Conteneur horizontal */
.sketchbook-wrapper {
    width: 100vw;
    height: 100vh; /* Pleine hauteur maintenant qu'il n'y a plus de nav */
    margin-top: 0; /* On retire la marge */
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
}

.horizontal-scroll {
    display: flex;
    padding: 0 15vw;
    gap: 15vw;
}

/* Aura Blanche et Cadre */
.image-wrapper {
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
    transition: transform 0.6s ease;
}

.image-wrapper img {
    height: 60vh;
    width: auto;
    display: block;
}

/* Textes au-dessus de l'image */
.image-info {
    position: absolute;
    top: -55px;
    left: 0;
}

.image-number {
    font-family: 'NeutralFace', sans-serif;
    font-size: 0.6rem;
    opacity: 0.5;
    letter-spacing: 2px;
}

.image-name {
    font-family: 'NeutralFace', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Bouton Retour */
.back-btn-container {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 9999 !important;
    pointer-events: all;
    opacity: 0;
    visibility: hidden;
}

.back-btn {
    font-family: 'NeutralFace', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: white;
    cursor: pointer;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.back-btn:hover {
    letter-spacing: 6px;
    background: white;
    color: black;
}

/* Cache scrollbar */
.sketchbook-wrapper::-webkit-scrollbar { display: none; }
.sketchbook-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: nowrap;
    user-select: none;
}

.sketch-item img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Les Infos de l'image : EN BAS */
.image-info {
    position: absolute;
    top: auto;
    bottom: -65px;
    left: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
    pointer-events: none;
}

/* Ajustement de l'item */
.sketch-item {
    flex: 0 0 auto;
    padding-bottom: 80px;
}

/* Ajustement taille image */
.image-wrapper img {
    height: 50vh;
    width: auto;
}