/* --- CRITICAL FIX: Anti-Flash & Anti-Blue --- */
a, a:visited { 
    text-decoration: none !important; 
    color: inherit; 
}

html { 
    font-size: 16px; 
    background-color: #000000; 
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center; 
    justify-content: center;
    /* FIX: Verrouille l'écran pour le côté figé */
    overflow: hidden; 
    position: fixed; 
}

/* Container principal : Figé à la taille de l'écran */
.wrapper {
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    height: 100vh; 
    max-height: 100vh;
    justify-content: space-between; 
    box-sizing: border-box;
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; 
    flex-shrink: 0; 
}

.logo {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -1px;
}

.logo a { color: #fff !important; }

.cursor {
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

nav a {
    color: #888;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover, nav a.active { 
    color: #ffffff !important; 
}

/* --- Main Content : Centrage Figé --- */
main {
    flex: 1;
    display: flex;
    /* FIX: On recentre tout proprement */
    align-items: center; 
    justify-content: center;
    overflow: hidden; 
    padding: 0;
}

main::-webkit-scrollbar { display: none; }

/* --- Grille Accueil --- */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
    width: 100%;
    margin: 0; 
}

.card {
    cursor: pointer;
    color: inherit;
}

.artwork {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #0a0a0a;
    overflow: hidden;
    margin-bottom: 12px;
}

.artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-out; 
}

.card:hover .artwork img {
    transform: scale(1.05); 
}

.info h2 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.status {
    color: #444;
    font-size: 0.75rem;
}

.info p {
    color: #444;
    font-size: 0.65rem;
}

/* --- Style Page About --- */
.content-about {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.bio h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -3px;
}

.lead {
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 40px;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #ccc;
}

/* --- Footer --- */
footer {
    height: 80px;
    border-top: 1px solid #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: #333;
    flex-shrink: 0; 
}

.socials a {
    color: #333;
    margin-left: 15px;
    transition: 0.3s;
}

.socials a:hover { 
    color: #ffffff !important; 
}

/* --- Mobile / Tablette : On autorise le scroll uniquement ici --- */
@media (max-width: 1024px) {
    body { 
        height: auto; 
        overflow: auto; 
        display: block; 
        position: static;
    }
    .wrapper { 
        padding: 0 15px; 
        height: auto;
        max-height: none;
        max-width: 100%;
    }
    header, footer { height: 80px; }
    main { 
        padding: 40px 0; 
        overflow: visible; 
        display: block;
    }
    .grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px 15px; 
    }
    .bio h1 { font-size: 2.2rem; }
    .details { flex-direction: column; gap: 40px; }
}