/* RESET MINIMAL */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Palettes de couleurs Synthwave pour une maintenance facile */
    --color-primary: #0ff; /* Cyan néon */
    --color-secondary: #f0f; /* Magenta néon */
    --color-accent: #ff0; /* Jaune néon */
    --color-text: #e0e0e0;
    --color-background: #1a0a2a; /* Bleu nuit/Violet sombre */
}

body {
    /* C6 Fix: Utilisation de polices système (sans-serif) pour la performance maximale */
    font-family: Arial, sans-serif; 
    line-height: 1.6;
    color: var(--color-text);
    min-height: 100vh;
    padding: 20px 10px;
    
    /* Maintien du style Synthwave (Fond sombre et image) */
    background-color: var(--color-background);
    background-image: 
        linear-gradient(rgba(26, 10, 42, 0.8), rgba(26, 10, 42, 0.8)),
        url('https://images.unsplash.com/photo-1620121684090-59a707d8771a?auto=format&fit=crop&w=1200&q=70');
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
}

/* Effet scanlines */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(18, 10, 42, 0.3) 50%, rgba(0, 0, 0, 0.5) 50%);
    background-size: 100% 2px;
    pointer-events: none;
    z-index: -1;
}

main {
    max-width: 900px; 
    margin: 0 auto;
}

/* Titres - Effet de glow néon */
h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 700; 
}

h1 {
    color: var(--color-primary);
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 10px;
    text-align: center;
    text-shadow: 0 0 5px #fff, 0 0 10px var(--color-primary), 0 0 20px var(--color-primary);
    margin-bottom: 20px;
}

h2 {
    color: var(--color-accent);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px var(--color-accent);
}

h3 {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Sections - Effets de glow et :hover */
.section {
    background-color: rgba(40, 10, 60, 0.7);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 5px rgba(255, 0, 255, 0.5); 
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: scale(1.01);
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.7), 0 0 10px rgba(0, 255, 255, 0.7);
}

/* Expériences / Formations - Effet :hover sur les articles */
article {
    border-left: 3px solid var(--color-accent); 
    padding-left: 15px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, border-left-color 0.3s ease;
}

article:hover {
    background-color: rgba(50, 10, 80, 0.8);
    border-left-color: #fff;
}

.meta {
    color: var(--color-primary);
    font-style: normal;
    font-size: 0.9rem;
}

/* Compétences - Effet :hover */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill {
    background-color: rgba(0, 20, 40, 0.7);
    color: var(--color-primary);
    padding: 5px 12px;
    border-radius: 5px;
    border: 1px solid var(--color-secondary);
    box-shadow: 0 0 5px var(--color-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill:hover {
    transform: scale(1.1);
    color: #fff;
    background-color: rgba(100, 0, 100, 0.8);
    box-shadow: 0 0 8px #fff;
}

/* Liens - Effet :hover */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: underline;
    text-shadow: 0 0 5px #fff;
}

/* Le reste du CSS (contact, footer, responsive) est ici... */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background-color: rgba(0, 20, 40, 0.5);
    border-radius: 8px;
    border: 1px solid var(--color-primary);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px dashed var(--color-secondary);
    font-size: 0.8rem;
    color: var(--color-accent);
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .skills-list {
        justify-content: flex-start;
    }
}