    :root {
        --bg-color: #0f172a;
        --card-bg: rgba(30, 41, 59, 0.7);
        --primary: #38bdf8;
        --secondary: #818cf8;
        --text-main: #f1f5f9;
        --text-muted: #94a3b8;
        --glass-border: 1px solid rgba(255, 255, 255, 0.1);
        --radius: 16px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
    body { font-family: 'Poppins', sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

    .container { max-width: 1100px; margin: 0 auto; padding: 80px 20px; }
    .section-title { font-size: 2rem; margin-bottom: 40px; text-align: center; background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .highlight { color: var(--primary); }

    .glass {
        background: var(--card-bg);
        backdrop-filter: blur(12px);:root {
        --bg-color: #0f172a;       /* Bleu nuit très sombre */
        --card-bg: rgba(30, 41, 59, 0.7);
        --primary: #38bdf8;        /* Bleu Cyan moderne */
        --secondary: #818cf8;      /* Indigo doux */
        --text-main: #f1f5f9;
        --text-muted: #94a3b8;
        --glass-border: 1px solid rgba(255, 255, 255, 0.1);
        --radius: 16px;
    }

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

    body {
        font-family: 'Poppins', sans-serif;
        background-color: var(--bg-color);
        color: var(--text-main);
        line-height: 1.6;
        overflow-x: hidden;
    }

    /* Utilitaires */
    .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 80px 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
        text-align: center;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .highlight {
        color: var(--primary);
    }

    /* Effet Verre (Glassmorphism) */
    .glass {
        background: var(--card-bg);
        backdrop-filter: blur(12px);
        border: var(--glass-border);
        border-radius: var(--radius);
        padding: 2rem;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .glass:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 40px rgba(56, 189, 248, 0.15);
        border-color: var(--primary);
    }

    /* Navigation */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 5%;
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(10px);
        position: fixed;
        width: 100%;
        z-index: 1000;
        border-bottom: var(--glass-border);
    }

    .logo {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary);
    }

    .nav-links {
        list-style: none;
        display: flex;
        gap: 30px;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 500;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10%;
        position: relative;
        overflow: hidden;
    }

    /* Cercles flous en arrière plan pour l'ambiance */
    .hero::before {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: var(--primary);
        border-radius: 50%;
        filter: blur(100px);
        opacity: 0.2;
        top: -50px;
        left: -50px;
        z-index: -1;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        line-height: 1.2;
        margin: 20px 0;
    }

    .tag {
        background: rgba(56, 189, 248, 0.1);
        color: var(--primary);
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .hero-btns {
        margin-top: 30px;
        display: flex;
        gap: 20px;
    }

    .btn {
        padding: 12px 30px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
        cursor: pointer;
        border: none;
        font-family: inherit;
        font-size: 1rem;
    }

    .btn.primary {
        background: var(--primary);
        color: #000;
    }

    .btn.primary:hover {
        background: var(--secondary);
        color: #fff;
    }

    .btn.secondary {
        border: 2px solid var(--text-main);
        color: var(--text-main);
    }

    .btn.secondary:hover {
        background: var(--text-main);
        color: #000;
    }

    .img-container img {
        width: 350px;
        height: 350px;
        object-fit: cover;
        border-radius: 50%; /* Forme ronde moderne */
        border: 4px solid var(--primary);
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    }

    /* Timeline Formation */
    .timeline {
        position: relative;
        max-width: 800px;
        margin: 0 auto;
    }

    .timeline::after {
        content: '';
        position: absolute;
        width: 2px;
        background: var(--primary);
        top: 0;
        bottom: 0;
        left: 20px; /* Alignement gauche moderne */
    }

    .timeline-item {
        margin-bottom: 40px;
        position: relative;
        padding-left: 60px;
    }

    .timeline-dot {
        position: absolute;
        width: 20px;
        height: 20px;
        background: var(--bg-color);
        border: 4px solid var(--primary);
        border-radius: 50%;
        left: 11px;
        top: 5px;
        z-index: 1;
    }

    .date {
        display: block;
        font-size: 0.9rem;
        color: var(--primary);
        margin-bottom: 10px;
    }

    /* Compétences */
    .skills-controls {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
    }

    .btn-filter {
        background: transparent;
        border: 1px solid var(--text-muted);
        color: var(--text-muted);
        padding: 10px 25px;
        border-radius: 20px;
        cursor: pointer;
        transition: 0.3s;
    }

    .btn-filter.active, .btn-filter:hover {
        background: var(--primary);
        color: #000;
        border-color: var(--primary);
    }

    .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .hidden {
        display: none;
    }

    .skill-card {
        text-align: center;
    }

    .skill-card i {
        font-size: 2.5rem;
        color: var(--secondary);
        margin-bottom: 15px;
    }

    /* Projets */
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .project-img {
        height: 150px;
        background-color: #555;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .link-arrow {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        margin-top: 15px;
        display: inline-block;
    }

    /* Intérêts */
    .interests-grid {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .interest-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 1rem 2rem;
    }
    .interests-grid:hover {
        border-color: var(--primary);
        transform: translateY(-10px);
    }
    .interests-item:hover {
        border-color: var(--primary);
        transform: translateY(-10px);
    }

    /* Footer */
    footer {
        text-align: center;
        padding: 50px 20px;
        background: rgba(0,0,0,0.2);
        margin-top: 50px;
    }

    .socials {
        margin: 30px 0;
    }

    .socials a {
        color: var(--text-main);
        font-size: 1.5rem;
        margin: 0 15px;
        transition: color 0.3s;
    }

    .socials a:hover {
        color: var(--primary);
    }

    .copyright {
        color: var(--text-muted);
        font-size: 0.8rem;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .hero {
            flex-direction: column-reverse;
            justify-content: center;
            text-align: center;
        }
        
        .hero-btns {
            justify-content: center;
        }
        
        .nav-links {
            display: none; /* Simplification pour l'exemple */
        }

        .img-container img {
            width: 250px;
            height: 250px;
            margin-bottom: 30px;
        }
    }
        border: var(--glass-border);
        border-radius: var(--radius);
        padding: 2rem;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* --- PANNEAU LATÉRAL & OVERLAY --- */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        z-index: 2000; 
        opacity: 0;
        pointer-events: none; 
        transition: opacity 0.4s ease;
    }

    .overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .side-panel {
        position: fixed;
        top: 0;
        right: -600px; /* Caché hors écran */
        width: 500px;
        height: 100vh;
        z-index: 2001;
        overflow-y: auto;
        border-radius: 20px 0 0 20px;
        border-right: none;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        display: flex;
        flex-direction: column;
    }

    .side-panel.active {
        right: 0;
    }

    .close-btn {
        position: absolute;
        top: 20px;
        right: 25px;
        background: transparent;
        border: none;
        color: var(--text-main);
        font-size: 2rem;
        cursor: pointer;
        transition: color 0.3s;
    }

    .close-btn:hover { color: var(--primary); }

    .panel-content { padding-top: 20px; }
    #panel-header h2 { font-size: 1.8rem; margin-bottom: 5px; color: var(--text-main); }
    #panel-location { color: var(--text-muted); font-style: italic; margin-bottom: 20px; }
    .panel-divider { border: 0; height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }

    #panel-body h4 { color: var(--primary); margin-top: 20px; margin-bottom: 10px; font-size: 1.1rem; }
    #panel-body p, #panel-body ul { font-size: 0.95rem; color: #cbd5e1; margin-bottom: 10px; }
    #panel-body ul { padding-left: 20px; }

    .timeline-content.clickable { cursor: pointer; position: relative; }
    .timeline-content.clickable:hover { border-color: var(--primary); transform: translateY(-5px); }
    .click-hint { display: block; margin-top: 15px; font-size: 0.8rem; color: var(--primary); font-weight: 600; }
    .panel-footer { margin-top: 30px; text-align: center; }
    .btn.small { padding: 8px 20px; font-size: 0.9rem; }

    /* Responsive Panneau */
    @media (max-width: 768px) {
        .side-panel { width: 100%; border-radius: 0; }
    }

    /* --- LAYOUT GLOBAL --- */
    .navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); position: fixed; width: 100%; z-index: 1000; border-bottom: var(--glass-border); }
    .logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
    .nav-links { list-style: none; display: flex; gap: 30px; }
    .nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: color 0.3s; }
    .nav-links a:hover { color: var(--primary); }
    .hero { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; padding: 100px 10% 0; position: relative; overflow: hidden; }
    .hero::before { content: ''; position: absolute; width: 300px; height: 300px; background: var(--primary); border-radius: 50%; filter: blur(100px); opacity: 0.2; top: -50px; left: -50px; z-index: -1; }
    .hero-content { max-width: 600px; }
    .hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin: 20px 0; }
    .tag { background: rgba(56, 189, 248, 0.1); color: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }
    .hero-btns { margin-top: 30px; display: flex; gap: 20px; }
    .btn { padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: all 0.3s; cursor: pointer; border: none; font-family: inherit; font-size: 1rem; }
    .btn.primary { background: var(--primary); color: #000; }
    .btn.primary:hover { background: var(--secondary); color: #fff; }
    .btn.secondary { border: 2px solid var(--text-main); color: var(--text-main); }
    .btn.secondary:hover { background: var(--text-main); color: #000; }
    .img-container img { width: 350px; height: 350px; object-fit: cover; border-radius: 50%; border: 4px solid var(--primary); box-shadow: 0 0 20px rgba(56, 189, 248, 0.3); }

    /* Timeline */
    .timeline { position: relative; max-width: 800px; margin: 0 auto; }
    .timeline::after { content: ''; position: absolute; width: 2px; background: var(--primary); top: 0; bottom: 0; left: 20px; }
    .timeline-item { margin-bottom: 40px; position: relative; padding-left: 60px; }
    .timeline-dot { position: absolute; width: 20px; height: 20px; background: var(--bg-color); border: 4px solid var(--primary); border-radius: 50%; left: 11px; top: 5px; z-index: 1; }
    .date { display: block; font-size: 0.9rem; color: var(--primary); margin-bottom: 5px; font-weight: 600; }

    /* Skills */
    .skills-controls { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
    .btn-filter { background: transparent; border: 1px solid var(--text-muted); color: var(--text-muted); padding: 10px 25px; border-radius: 20px; cursor: pointer; transition: 0.3s; }
    .btn-filter.active, .btn-filter:hover { background: var(--primary); color: #000; border-color: var(--primary); }
    .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
    .hidden { display: none; }
    .skill-card { text-align: center; }
    .skill-card i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px; }

    /* Interests & Contact */
    .interests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 20px; ;}
    .interest-item { display: flex; align-items: flex-start; gap: 15px; }
    .interest-item i { font-size: 1.5rem; color: var(--primary); margin-top: 5px; }
    .contact-info p { margin: 10px 0; font-size: 1.1rem; }
    .contact-info i { color: var(--primary); margin-right: 10px; width: 20px; }
    footer { text-align: center; padding: 50px 20px; background: rgba(0,0,0,0.2); margin-top: 50px; }

    /* --- CARROUSEL PROJETS (NOUVEAU) --- */
    .carousel-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        gap: 20px;
    }

    .carousel-container {
        overflow: hidden;
        width: 100%;
        max-width: 900px;
        padding: 20px 0;
    }

    .carousel-track {
        display: flex;
        gap: 30px;
        transition: transform 0.5s ease-in-out;
    }

    .project-card {
        min-width: 280px; 
        max-width: 280px;
        display: flex;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
        cursor: pointer;
    }

    .project-card:hover {
        border-color: var(--primary);
        transform: translateY(-10px);
    }

    .project-img-placeholder {
        height: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: rgba(255,255,255,0.8);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .project-info { padding: 1.5rem; text-align: center; }
    .project-info h3 { margin-bottom: 5px; color: var(--text-main); }
    .project-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; }
    .click-hint.small { font-size: 0.75rem; margin-top: 10px; }

    .carousel-btn {
        background: var(--card-bg);
        border: var(--glass-border);
        color: var(--text-main);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        z-index: 10;
    }

    .carousel-btn:hover { background: var(--primary); color: #000; }

    @media (max-width: 768px) {
        .hero { flex-direction: column-reverse; justify-content: center; text-align: center; }
        .hero-btns { justify-content: center; }
        .nav-links { display: none; }
        .img-container img { width: 250px; height: 250px; margin-bottom: 30px; }
        .carousel-wrapper { padding: 0 10px; }
        .project-card { min-width: 250px; }
    }
