:root {
    --bg-dark: #121212;
    --text-main: #cccccc;
    --text-highlight: #ffffff;
    --accent-blood: #ab0505; 
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;

    --site-width: 1100px; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.8;
    font-weight: 300;
    overflow: hidden;
    height: 100vh;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: color 0.3s ease, font-weight 0.3s ease; 
}
ul { list-style: none; }

header {
    position: absolute;
    top: 0;
    left: 0; right: 0; margin: 0 auto;
    width: 100%;
    max-width: var(--site-width);
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-highlight);
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    line-height: 1.2;
}

nav ul { display: flex; gap: 2rem; }

nav a {
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    color: var(--text-main); 
    opacity: 0.8;
    font-weight: 300;
}

nav a:hover { 
    font-weight: 600;
    color: var(--accent-blood);
    opacity: 1;
}

.auteur {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: flex-end; 
    background-image: linear-gradient(to right, rgba(18,18,18,0.9) 0%, rgba(18,18,18,0.2) 100%), 
                      url('img/moi.png'); 
    background-size: cover;
    background-position: center; 
    padding-left: max(1.5rem, calc((100% - var(--site-width)) / 2));
    padding-right: max(1.5rem, calc((100% - var(--site-width)) / 2));
}

.auteur-content { 
    max-width: 600px; 
    text-align: right; 
}

h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--text-highlight);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 400;
}

.accent {
    color: var(--accent-blood);
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    display: block;
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 1rem 0; 
    border: none; 
    background-color: transparent;
    color: var(--text-highlight);
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 300;
    cursor: pointer;
}

.btn:hover {
    color: var(--accent-blood);
    font-weight: 700;
}

.bio-content {
    text-align: justify !important; 
    hyphens: auto; 
}

.bio-content h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-highlight);
    margin-bottom: 2rem;
    text-align: right;
    border-bottom: 1px solid var(--accent-blood);
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
    font-weight: 400;
}

.bio-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    text-align: justify;
    color: #ffffff;
    opacity: 1;
    line-height: 1.9;
}

@media (max-width: 768px) {
    body { overflow: auto; }
    header { position: relative; flex-direction: column; gap: 1rem; text-align: center; }
    
    .logo { font-size: 2rem; }
    
    h1 { font-size: 2.5rem; }
    .auteur { justify-content: center; } 
    .auteur-content { text-align: center; }
    
    .bio-content {
        text-align: left !important;
    }
    .bio-content p {
        text-align: left;
    }
    .bio-content h2 {
        text-align: center;
    }
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-family: var(--font-sans);
    margin-top: 1rem;
    padding: 10px 0;
    font-weight: 300;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 40px;
    height: 40px;
    fill: var(--text-highlight); 
    transition: fill 0.3s ease;
}

.social-link:hover {
    color: var(--accent-blood);
    font-weight: 600;
}

.social-link:hover svg {
    fill: var(--accent-blood); 
}

@media (max-width: 768px) {
    .contact-wrapper {
        align-items: center;
    }
}
