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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: Arial, Helvetica, sans-serif;
            background: #0b1120;
            color: #e5e7eb;
            line-height: 1.6;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            width: min(1100px, 90%);
            margin: auto;
        }

        /* NAVIGATION */

        nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(11, 17, 32, 0.95);
            border-bottom: 1px solid #1f2937;
            backdrop-filter: blur(10px);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 70px;
        }

        .logo {
            font-size: 1.3rem;
            font-weight: bold;
            color: #60a5fa;
        }

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

        .nav-links a {
            color: #cbd5e1;
            transition: 0.3s;
        }

        .nav-links a:hover {
            color: #60a5fa;
        }

        /* HERO */

        .hero {
            min-height: 90vh;
            display: flex;
            align-items: center;
            background:
                radial-gradient(circle at top right, #172554, transparent 40%),
                radial-gradient(circle at bottom left, #111827, transparent 40%);
        }

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

        .hero-tag {
            display: inline-block;
            margin-bottom: 20px;
            padding: 8px 15px;
            border: 1px solid #334155;
            border-radius: 20px;
            color: #93c5fd;
            background: #111827;
        }

        .hero h1 {
            font-size: clamp(3rem, 8vw, 6rem);
            line-height: 1;
            margin-bottom: 20px;
        }

        .hero h2 {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            color: #60a5fa;
            margin-bottom: 20px;
        }

        .hero p {
            color: #94a3b8;
            font-size: 1.1rem;
            max-width: 700px;
        }

        .hero-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .button {
            display: inline-block;
            padding: 13px 22px;
            border-radius: 8px;
            background: #2563eb;
            color: white;
            font-weight: bold;
            transition: 0.3s;
        }

        .button:hover {
            transform: translateY(-2px);
            background: #1d4ed8;
        }

        .button.secondary {
            background: transparent;
            border: 1px solid #334155;
        }

        .button.secondary:hover {
            border-color: #60a5fa;
        }

        /* SECTIONS */

        section {
            padding: 90px 0;
        }

        .section-title {
            margin-bottom: 45px;
        }

        .section-title span {
            color: #60a5fa;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            margin-top: 8px;
        }

        .section-title p {
            color: #94a3b8;
            margin-top: 10px;
        }

        /* ABOUT */

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .card {
            background: #111827;
            border: 1px solid #1f2937;
            border-radius: 15px;
            padding: 30px;
            transition: 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
            border-color: #334155;
        }

        .card h3 {
            margin-bottom: 15px;
            color: #60a5fa;
        }

        .card p {
            color: #94a3b8;
        }

        .info-list {
            list-style: none;
        }

        .info-list li {
            padding: 10px 0;
            border-bottom: 1px solid #1f2937;
        }

        .info-list li:last-child {
            border-bottom: none;
        }

        .info-list strong {
            color: #e5e7eb;
        }

        /* SKILLS */

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

        .skill-card h3 {
            margin-bottom: 10px;
        }

        .skill-card p {
            color: #94a3b8;
        }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
        }

        .skill-tag {
            padding: 6px 10px;
            background: #1e293b;
            border-radius: 6px;
            color: #cbd5e1;
            font-size: 0.85rem;
        }

        /* PROJECTS */

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .project-number {
            color: #60a5fa;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        .project-card h3 {
            margin-bottom: 12px;
        }

        .project-card p {
            color: #94a3b8;
        }


        .project-card img {
            display: block;
            width: 100%;
            max-width: 450px;
            height: auto;
            margin: 20px auto 0;
            border-radius: 8px;
        }
        
       .project-card:has(img[src*="pentest-crowdsec-alertes"]) {
    grid-column: 1 / -1;
}

.project-card img[src*="pentest-crowdsec-alertes"] {
    width: 100%;
    max-width: 1800px;
}


        /* PARCOURS */

        .timeline {
            position: relative;
            max-width: 800px;
        }

        .timeline::before {
            content: "";
            position: absolute;
            left: 8px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #334155;
        }

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

        .timeline-dot {
            position: absolute;
            left: 0;
            top: 5px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #2563eb;
            border: 4px solid #0b1120;
        }

        .timeline-item span {
            color: #60a5fa;
            font-size: 0.9rem;
        }

        .timeline-item h3 {
            margin: 5px 0;
        }

        .timeline-item p {
            color: #94a3b8;
        }

        /* VEILLE */

        .watch-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .watch-card h3 {
            margin-bottom: 10px;
        }

        .watch-card p {
            color: #94a3b8;
        }

        /* TERMINAL */

        .terminal {
            background: #020617;
            border: 1px solid #1e293b;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        }

        .terminal-header {
            padding: 12px 15px;
            background: #111827;
            border-bottom: 1px solid #1e293b;
            color: #94a3b8;
        }

        .terminal-body {
            padding: 25px;
            font-family: monospace;
            color: #86efac;
            line-height: 2;
        }

        .terminal-command {
            color: #60a5fa;
        }

        /* CONTACT */

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .contact-link {
            display: block;
            padding: 20px;
            background: #111827;
            border: 1px solid #1f2937;
            border-radius: 10px;
            transition: 0.3s;
        }

        .contact-link:hover {
            border-color: #60a5fa;
            transform: translateY(-3px);
        }

        .contact-link strong {
            display: block;
            margin-bottom: 5px;
            color: #60a5fa;
        }

        .contact-link span {
            color: #94a3b8;
            word-break: break-word;
        }

        /* FOOTER */

        footer {
            padding: 30px 0;
            border-top: 1px solid #1f2937;
            text-align: center;
            color: #64748b;
        }

        /* RESPONSIVE */

        @media (max-width: 800px) {

            .nav-container {
                flex-direction: column;
                padding: 15px 0;
                gap: 15px;
            }

            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
                gap: 12px;
            }

            .about-grid,
            .skills-grid,
            .projects-grid,
            .watch-grid,
            .contact-grid {
                grid-template-columns: 1fr;
            }

            section {
                padding: 65px 0;
            }

            .hero {
                min-height: 80vh;
            }
        }
