        :root {
            --bg-color: #FDF2F0;
            /* Le rose/pêche de l'arrière-plan */
            --card-bg: #ffffff;
            --text-main: #333333;
            --text-secondary: #666666;
            --accent-color: #F2A082;
            /* La couleur du bouton orange/saumon */
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Raleway', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            line-height: 1.6;
            padding: 0 20px;
        }

        /* --- BARRE DE NAVIGATION --- */
        nav {
            max-width: 980px;
            margin: 0 auto;
            padding: 30px 0;
            display: flex;
            justify-content: flex-start;
            gap: 30px;
            align-items: center;
        }

        .logo {
            font-weight: bold;
            font-size: 1.8rem;
            color: var(--accent-color);
        }

        .logo img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--text-main);
            font-weight: 500;
            font-size: 1.1rem;
        }

        .theme-toggle {
            cursor: pointer;
            font-size: 1.2rem;
        }

        /* --- CONTENEUR GLOBAL --- */
        .container {
            max-width: 1015px;
            margin: 20px auto 100px;
        }

        /* --- STYLE DES CARTES --- */
        .card {
            background: var(--card-bg);
            border-radius: 40px;
            /* Bords très arrondis comme sur l'image */
            padding: 60px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
        }

        /* --- SECTION HERO (PROFIL) --- */
        .hero {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .profile-img {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            background-color: #eee;
        }

        .hero-content h1 {
            font-size: 2.5rem;
            margin-bottom: 5px;
            font-weight: 550;
        }

        .hero-content .title {
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 25px;
        }

        .buttons {
            display: flex;
            gap: 15px;
        }

        .btn {
            padding: 12px 25px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: transform 0.2s;
        }

        .btn-primary {
            background-color: var(--accent-color);
            color: white;
        }

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

        .btn:hover {
            transform: translateY(-2px);
        }

        /* --- SECTION ABOUT --- */
        .about h2 {
            font-size: 1.8rem;
            font-weight: 550;
            margin-bottom: 30px;
        }

        .about p {
            color: var(--text-secondary);
            margin-bottom: 20px;
            font-size: 1.1rem;
            text-align: justify;
        }

        .about b {
            color: var(--text-main);
        }

        /* --- SECTION WORKS --- */
        .works h2 {
            font-size: 1.8rem;
            font-weight: 550;
            margin-bottom: 30px;
        }

        .works h1 {
            font-size: 1.4rem;
            font-weight: 550;
        }

        work_date {
            font-size: 1.1rem;
            font-weight: 400;
            color: var(--text-secondary);
            margin-left: 5px;
        }

        .works p {
            color: var(--text-secondary);
            margin-bottom: 20px;
            font-size: 1.1rem;
            font-weight: 550;
            text-align: justify;
        }

        .works b {
            color: var(--text-main);
        }

        /* --- SECTION QUALIFICATIONS --- */
        .qualifications h2 {
            font-size: 1.8rem;
            font-weight: 550;
            margin-bottom: 30px;
        }

        .qualifications h1 {
            font-size: 1.4rem;
            font-weight: 550;
        }

        qualification_date {
            font-size: 1.1rem;
            font-weight: 400;
            color: var(--text-secondary);
            margin-left: 5px;
        }

        .qualifications p {
            color: var(--text-secondary);
            margin-bottom: 20px;
            font-size: 1.1rem;
            font-weight: 550;
            text-align: justify;
        }

        .qualifications b {
            color: var(--text-main);
        }

        /* --- RESPONSIVE (MOBILE) --- */
        @media (max-width: 768px) {
            .hero {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }

            .card {
                padding: 30px;
            }

            .nav-links {
                display: none;
                /* Cache les liens sur mobile pour simplifier */
            }
        }

        /* Wiki */
        /* --- NOUVEAUX STYLES SPÉCIFIQUES AU WIKI (Grid & Search) --- */

        .wiki-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .search-wrapper {
            margin-bottom: 50px;
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .search-bar {
            width: 100%;
            max-width: 600px;
            padding: 15px 25px;
            border-radius: 30px;
            border: 1px solid #ddd;
            font-family: 'Raleway', sans-serif;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .search-bar:focus {
            border-color: var(--accent-color);
        }

        .wiki-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
        }

        .wiki-card {
            padding: 30px !important;
            /* On réduit le padding pour le petit format */
            margin-bottom: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
        }

        .wiki-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        }

        .wiki-card h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--text-main);
        }

        .wiki-card p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 15px;
        }

        .tag {
            font-size: 0.75rem;
            background: var(--bg-color);
            color: var(--accent-color);
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .tag-on {
            font-size: 0.75rem;
            background-color: #E6F9F0;
            color: #00B159;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .tag-mtnc {
            font-size: 0.75rem;
            background: #fff3e0;
            color: #ef6c00;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .tag-off {
            font-size: 0.75rem;
            background: #ffebee;
            color: #c62828;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .project-card {
            background: #ffffff;
            border: 1px solid #eee;
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            border-color: #F2A082;
        }

        .project-card a:hover {
            text-decoration: none;
            font-weight: bold;
        }

        .project-badges {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .tag-cat,
        .tag-status {
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 20px;
            text-transform: uppercase;
        }

        .cat-web {
            background: #e3f2fd;
            color: #1976d2;
        }

        .cat-github {
            background: #f5f5f5;
            color: #333333;
        }

        .cat-discord {
            background: #e8eaf6;
            color: #3f51b5;
        }

        .project-card h3 {
            margin: 10px 0;
            font-size: 1.2rem;
            color: #222;
        }

        .project-card p {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.4;
            margin-bottom: 20px;
        }

        .project-link {
            text-decoration: none;
            font-weight: 600;
            color: #F2A082;
            font-size: 0.9rem;
        }

        .project-link:hover {
            text-decoration: underline;
        }



        .tag-microsoft {
            font-size: 0.75rem;
            background: #E6F7FF;
            color: #00A1F1;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .tag-bkp {
            font-size: 0.75rem;
            background-color: #E6F9F0;
            color: #00B159;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .tag-ebp {
            font-size: 0.75rem;
            background-color: #E6F0F8;
            color: #005295;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .tag-cmd {
            font-size: 0.75rem;
            background-color: #CCCCCC;
            color: #ffffff;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .tag-vpn {
            font-size: 0.75rem;
            background-color: #FFF2E8;
            color: #EA7D24;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 600;
            display: inline-block;
            width: fit-content;
        }

        .img-wiki {
            border-radius: 7%;
            margin: 5px;
        }

        /* Style des images à l'intérieur du guide (modale) */
        .guide-content img {
            max-width: 100%;
            /* L'image ne dépasse jamais la largeur de la modale */
            height: auto;
            /* Garde les proportions */
            display: block;
            /* Évite les espaces vides en dessous */
            margin: 20px auto;
            /* Centre l'image avec de l'espace haut/bas */
            border-radius: 8px;
            /* Coins arrondis pour coller au design */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            /* Ombre légère pour décoller du fond */
            border: 1px solid #eee;
        }


        @media (max-width: 768px) {
            .wiki-grid {
                grid-template-columns: 1fr 1fr;
            }

            .nav-links {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .wiki-grid {
                grid-template-columns: 1fr;
            }
        }