@charset "utf-8";
/* CSS Document */

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

    :root {
        /* Neutres */
         --primary-grey: #9e9e9e;
        --text-primary: #ffffff;
        --text-secondary: #a1a1aa;
        --border-color: rgba(229, 231, 235, 0.2);

        /* Fonds */
        --dark-bg: #1a0b2e;
        --darker-bg: #0f051a;
        --card-bg: rgba(229, 231, 235, 0.03);

        /* Couleurs principales */
        --primary-orange: #f97316;
        --secondary-amber: #fbbf24;

        /* Couleurs néon (effets, animations) */
        --primary-cyan: #00ffff;
        --primary-green: #39ff14; 
        --primary-purple: #bf00ff;
        --secondary-green: #00ff88; 
    }

    body {
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        background: var(--darker-bg);
        color: var(--text-primary);
        line-height: 1.6;
        overflow-x: hidden;
    }

/* Fonds site web -------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
        
    /* Fond global */
    .cyber-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--darker-bg);
        overflow: hidden;
        z-index: -5;
    }
    
    /* Halo animé */
    .cyber-gradient {
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),   /* cyan */
            radial-gradient(circle at 80% 70%, rgba(30, 144, 255, 0.15) 0%, transparent 50%), /* bleu clair */
            radial-gradient(circle at 40% 80%, rgba(0, 102, 255, 0.15) 0%, transparent 50%), /* bleu profond */
            radial-gradient(circle at 60% 20%, rgba(57, 255, 20, 0.15) 0%, transparent 50%); /* vert fluo */
        animation: gradientRotate 30s linear infinite;
        filter: blur(40px);
    }
    
    @keyframes gradientRotate {
        0% { transform: rotate(0deg) scale(1); }
        50% { transform: rotate(180deg) scale(1.2); }
        100% { transform: rotate(360deg) scale(1); }
    }
    
    /* Matrix rain */
    .matrix-rain {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        opacity: 0.15;
    }
    
    .matrix-column {
        position: absolute;
        top: -100vh;
        font-family: 'Courier New', monospace;
        font-size: 14px;
        color: var(--primary-cyan);
        text-shadow: 0 0 5px var(--primary-cyan);
        animation: matrixFall linear infinite;
        writing-mode: vertical-rl;
        text-orientation: upright;
        background: linear-gradient(to bottom, transparent 0%, var(--primary-cyan) 50%, transparent 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    /* Variantes colorées */
    .matrix-column:nth-child(3n) {
        color: var(--primary-blue);
        text-shadow: 0 0 5px var(--primary-blue);
        background: linear-gradient(to bottom, transparent 0%, var(--primary-blue) 50%, transparent 100%);
    }
    
    .matrix-column:nth-child(5n) {
        color: var(--secondary-blue);
        text-shadow: 0 0 5px var(--secondary-blue);
        background: linear-gradient(to bottom, transparent 0%, var(--secondary-blue) 50%, transparent 100%);
    }
    
    /* Ajout vert fluo */
    .matrix-column:nth-child(7n) {
        color: var(--primary-green);
        text-shadow: 0 0 5px var(--primary-green);
        background: linear-gradient(to bottom, transparent 0%, var(--primary-green) 50%, transparent 100%);
    }
    
    @keyframes matrixFall {
        0% { transform: translateY(0); }
        100% { transform: translateY(200vh); }
    }


    /* Animated grid overlay */
    .grid-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -2;
    }

    .grid-lines {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 50px 50px;
        animation: gridMove 20s linear infinite;
    }

    .grid-glow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            linear-gradient(rgba(30, 144, 255, 0.03) 2px, transparent 2px), /* bleu clair */
            linear-gradient(90deg, rgba(30, 144, 255, 0.03) 2px, transparent 2px);
        background-size: 100px 100px;
        animation: gridMove 30s linear infinite reverse;
    }

    @keyframes gridMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(50px, 50px); }
    }

    /* Floating particles */
    .particles {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -3;
    }

    .particle {
        position: absolute;
        width: 4px;
        height: 4px;
        background: var(--primary-cyan);
        border-radius: 50%;
        box-shadow: 0 0 10px var(--primary-cyan);
        animation: float 20s infinite;
        opacity: 0;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .particle:nth-child(odd) {
        background: #39ff14; /* vert fluo */
        box-shadow: 0 0 10px #39ff14;
        animation-duration: 25s;
    }

    @keyframes float {
        0% {
            transform: translateY(100vh) translateX(0);
            opacity: 0;
        }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% {
            transform: translateY(-100vh) translateX(100px);
            opacity: 0;
        }
    }

    /* Glowing orbs */
    .orb {
        position: fixed;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.5;
        animation: orbFloat 20s ease-in-out infinite;
        pointer-events: none;
        z-index: -4;
    }

    .orb1 {
        width: 300px;
        height: 300px;
        background: var(--primary-cyan);
        top: 10%;
        left: -150px;
        animation-delay: 0s;
    }

    .orb2 {
        width: 400px;
        height: 400px;
        background: #1e90ff; /* bleu vif */
        bottom: 10%;
        right: -200px;
        animation-delay: 5s;
    }

    .orb3 {
        width: 250px;
        height: 250px;
        background: #39ff14; /* vert fluo */
        top: 50%;
        left: 50%;
        animation-delay: 10s;
    }

    @keyframes orbFloat {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(100px, -50px) scale(1.1); }
        66% { transform: translate(-50px, 100px) scale(0.9); }
    }

    /* Scanlines effect */
    .scanlines {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: -1;
    }

    .scanlines::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            transparent 0%,
            rgba(0, 255, 255, 0.03) 50%,
            transparent 100%
        );
        background-size: 100% 4px;
        animation: scanline 8s linear infinite;
    }

    .scanlines::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
        pointer-events: none;
    }

    /* Noise texture overlay */
    .noise-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.03;
        z-index: -1;
        pointer-events: none;
        background-image: 
            repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
            repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0, 255, 255, 0.02) 2px, rgba(0, 255, 255, 0.02) 4px);
    }

    @keyframes scanline {
        0% { transform: translateY(-100%); }
        100% { transform: translateY(100%); }
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: var(--darker-bg);
    }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(var(--primary-cyan), var(--primary-green));
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(var(--primary-green), var(--primary-cyan));
    }
    /* Scroll animations */
    .fade-up {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s ease;
    }
    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Curseur */
        /* Curseur par défaut sur tout le site */
        body, label {
            cursor: url('images/CursNeon.cur'), auto;
        }
        /* Curseur pour les boutons et liens cliquables */
        button, .cyber-button, a, .nav-links a, .logo, .nav-container a, .btn-primary, .procedures summary, .procedures-h2 summary, .entreprise summary, .dropdown span {
            cursor: url('images/CursNeonSel.cur'), pointer;
        }
        /* Curseur pour les champs de texte */
        input, textarea {
            cursor: url('images/CursNeonText.cur'), text;
        }

/* Fin fond site web -----------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Navigation ------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    nav {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 1rem 2rem;
        background: rgba(15, 15, 35, 0.9);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        z-index: 10000;
        transition: all 0.3s ease;
    }

    .nav-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cyber-button {
        display: inline-block;
        background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
        color: var(--darker-bg);
        padding: 1rem 2rem;
        text-decoration: none;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        transition: all 0.3s ease;
        clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
        width: 100%;
        text-align: center;
    }

    .cyber-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    }
    /* Desktop Navigation Layout */
    @media (min-width: 769px) {
        .mobile-menu-button {
            display: none !important;
        }
            
        .nav-container {
            flex-direction: row;
            align-items: center;
            gap: 0;
        }
        
        .nav-top { flex: 0 0 auto; }
        
        .nav-links {
            flex: 1;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            margin: 0 2rem;
            max-width: none;
            gap: 2.5rem;
        }

        .nav-links a {
            padding: 0;
            border-bottom: none;
            font-size: 0.9rem;
        }
        
        .nav-links a:hover {
            background: none;
            transform: none;
            padding-left: 0;
        }
        
        .nav-links a::before { display: none; }
        
        .nav-bottom { flex: 0 0 auto; }
        
        .cyber-button {
            width: auto;
            max-width: none;
        }
    }

    /* Data streams */
    .data-streams {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -3;
        pointer-events: none;
    }
    .data-stream {
        position: absolute;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
        opacity: 0;
        animation: dataFlow 3s ease-in-out infinite;
    }
    .data-stream:nth-child(odd) {
        background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
        animation-duration: 4s;
    }
    @keyframes dataFlow {
        0% {
            width: 0;
            opacity: 0;
            transform: translateX(0);
        }
        50% {
            width: 300px;
            opacity: 0.8;
        }
        100% {
            width: 0;
            opacity: 0;
            transform: translateX(100vw);
        }
    }

    /* Reduced motion for accessibility */
    @media (prefers-reduced-motion: reduce) {
        .cyber-gradient,
        .grid-lines,
        .grid-glow,
        .particle,
        .orb,
        .matrix-column,
        .scanlines::before,
        .data-stream {
            animation: none !important;
        }
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary-cyan);
        text-shadow: 0 0 20px var(--primary-cyan);
        position: relative;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .logo:hover {
        text-shadow: 0 0 30px var(--primary-cyan);
        transform: scale(1.05);
    }

    .logo::before {
        content: '>';
        margin-right: 0.5rem;
        color: var(--primary-orange);
        transition: all 0.3s ease;
    }

    .logo:hover::before {
        margin-right: 0.8rem;
        text-shadow: 0 0 10px var(--primary-orange);
    }

    .logo::after {
        content: '_';
        animation: blink 1s infinite;
        color: var(--primary-cyan);
    }

    @keyframes blink {
        0%, 50% { opacity: 1; }
        51%, 100% { opacity: 0; }
    }

    .nav-links {
        display: flex;
        list-style: none;
        gap: 2.5rem;
    }

    .nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .nav-links a:hover {
        color: var(--primary-cyan);
        text-shadow: 0 0 10px var(--primary-cyan);
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-cyan), #1e90ff); /* bleu à la place du violet */
        transition: width 0.3s ease;
        box-shadow: 0 0 10px var(--primary-cyan);
    }

    .nav-links a.active {
        color: var(--primary-cyan); /* texte néon cyan */
        text-shadow: 0 0 10px var(--primary-cyan); /* glow permanent */
        font-weight: 600; /* légèrement plus visible */
    }

    .nav-links a:hover::before { width: 100%; }

        /* Desktop Navigation Layout - menu déroulant */
        .dropdown {
        position: relative;
        }

            /* Le titre "Réalisations" non cliquable */
            .dropdown-btn {
                color: var(--text-secondary);
                font-weight: 500;
                text-transform: uppercase;
                letter-spacing: 1px;
                font-size: 0.9rem;
                cursor: pointer;
                transition: all 0.3s ease;
            }
            .dropdown-btn.active {
                color: var(--primary-cyan);
                text-shadow: 0 0 10px var(--primary-cyan);
                font-weight: 600;
            }

            /* Effet visuel au survol du titre */
            .dropdown:hover .dropdown-btn {
                color: var(--primary-cyan);
                text-shadow: 0 0 10px var(--primary-cyan);
            }

            /* Contenu du menu déroulant */
            .dropdown-content {
                display: none;
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                background: rgba(10, 10, 20, 0.432);
                border: 1px solid rgba(0, 255, 255, 0.3);
                box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
                min-width: 340px;
                width: 220px;
                box-sizing: border-box;
                border-radius: 8px;
                z-index: 10;
                list-style: none;
                padding: 0.5rem 0;
                margin: 0;
                text-align: center;
                white-space: nowrap;
            }

            /* Liens à l'intérieur du menu */
            .dropdown-content a {
                color: var(--text-secondary);
                padding: 0.8rem 1.2rem;
                text-decoration: none;
                display: block;
                font-size: 0.9rem;
                transition: all 0.3s ease;
            }

            /* Liens internes du sous-menu */
            .dropdown-content li a {
                display: block;
                padding: 0.6rem 1rem;
                color: var(--text-secondary);
                text-decoration: none;
                transition: all 0.3s ease;
                width: 100%;
                box-sizing: border-box;
            }

            .dropdown-content li {
                margin: 0;
            }

            /* Effet au survol d’un sous-lien */
            .dropdown-content a:hover {
                color: var(--primary-cyan);
                text-shadow: 0 0 10px var(--primary-cyan);
            }

            /* Affichage du menu au survol */
            .dropdown:hover .dropdown-content {
                display: block;
                
            }

            /* Animation douce */
            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(-10px); }
                to { opacity: 1; transform: translateY(0); }
            }
/* Fin navigation ---------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Ecran accueil ---------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    .hero {
        padding: 150px 2rem 100px;
        text-align: center;
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero-container {
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(3rem, 8vw, 6rem);
        font-weight: 900;
        margin-bottom: 2rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        position: relative;
        line-height: 1.2;
    }

    .hero-nexus {
        background: linear-gradient(135deg, var(--primary-cyan), #00ccff);
        background: -webkit-linear-gradient(135deg, var(--primary-cyan), #00ccff);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
        transition: all 0.3s ease;
        animation: cyanPulse 3s ease-in-out infinite;
        position: relative;
    }

    .hero-flow {
        background: linear-gradient(135deg, #39ff14, #00ff88); /* vert fluo → vert aqua */
        background: -webkit-linear-gradient(135deg, #39ff14, #00ff88);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-left: 0.1em;
        display: inline-block;
        transition: all 0.3s ease;
        animation: greenPulse 5s ease-in-out infinite; /* plus lent, plus soft */
        animation-delay: 1.5s;
        position: relative;
    }

    @keyframes cyanPulse {
        0%, 100% { 
            filter: brightness(1) drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
            transform: translateY(0) scale(1);
        }
        50% { 
            filter: brightness(1.1) drop-shadow(0 0 25px rgba(0, 255, 255, 0.8));
            transform: translateY(-2px) scale(1.01);
        }
    }

    /* Animation adaptée pour un effet pulsant vert */
    @keyframes greenPulse {
        0%, 100% { 
            filter: brightness(1) drop-shadow(0 0 15px rgba(57, 255, 20, 0.6));
            transform: translateY(0) scale(1);
        }
        50% { 
            filter: brightness(1.1) drop-shadow(0 0 25px rgba(57, 255, 20, 0.8));
            transform: translateY(-2px) scale(1.01);
        }
    }

    /* Clean hover effect */
    .hero-title:hover .hero-nexus {
        transform: translateX(-3px) scale(1.02);
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(0, 255, 255, 0.9));
    }

    .hero-title:hover .hero-flow {
        transform: translateX(3px) scale(1.02);
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(82, 255, 0, 0.8));
    }

    /* Subtle background glow for each word */
    .hero-nexus::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 60%);
        filter: blur(50px);
        z-index: -1;
        animation: glowPulse 4s ease-in-out infinite;
        pointer-events: none;
    }

    .hero-flow::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 0, 255, 0.08) 0%, transparent 60%);
        filter: blur(50px);
        z-index: -1;
        animation: glowPulse 4s ease-in-out infinite;
        animation-delay: 2s;
        pointer-events: none;
    }

    @keyframes glowPulse {
        0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
        50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    }

    /* Apply animation pause on hover */
    .hero-title:hover .hero-nexus,
    .hero-title:hover .hero-flow {
        animation-play-state: paused;
    }

    /* Border animation */
    .hero-nexus::after,
    .hero-flow::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 0;
        height: 3px;
        transition: width 0.3s ease;
    }

    .hero-nexus::after {
        background: linear-gradient(90deg, var(--primary-cyan), transparent);
    }

    .hero-flow::after {
        background: linear-gradient(90deg, transparent, var(--primary-green));
        left: auto;
        right: 0;
    }

    .hero-title:hover .hero-nexus::after,
    .hero-title:hover .hero-flow::after {
        width: 100%;
    }

    /* Typing effect for hero text on load */
    @keyframes typeIn {
        0% { 
            opacity: 0;
            transform: translateY(20px);
        }
        100% { 
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* Remove scanner line for cleaner look */
    .hero-subtitle {
        font-size: 1.5rem;
        color: var(--text-secondary);
        margin-bottom: 3rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        font-weight: 300;
        opacity: 0.9;
        background: linear-gradient(135deg, var(--text-secondary), var(--primary-grey));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .citation {
        font-size: 1.5rem;
        color: var(--text-secondary);
        font-style: italic;
        font-family: Arial, Helvetica, sans-serif;
        margin-bottom: 3rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        font-weight: 300;
        opacity: 0.9;
        background: linear-gradient(135deg, var(--text-secondary), var(--primary-grey));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .accueil_img img {
        display: block;
        border-radius: 35px;
        margin: 15%;
        width: 1024px;
        height: 300px;
        margin-top: 5px;
        margin-bottom: 40px;
    }

    /* Conteneur de la frise avec l'overlay */
    .hero-frise-wrapper {
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 0 auto;
        border-radius: 20px;
        overflow: hidden;
        /* Bordure néon */
        border: 1px solid rgba(0, 255, 255, 0.25);
        box-shadow:
            0 0 30px rgba(0, 255, 255, 0.15),
            0 0 60px rgba(57, 255, 20, 0.08),
            inset 0 0 40px rgba(0, 0, 0, 0.4);
    }

    /* L'image de frise elle-même */
    .hero-frise-img {
        display: block;
        width: 100%;
        height: 380px;
        object-fit: cover;
        object-position: center;
        filter: brightness(0.6) saturate(1.2);
        transition: filter 0.5s ease;
    }

    .hero-frise-wrapper:hover .hero-frise-img {
        filter: brightness(0.85) saturate(1.3);
    }

    /* Dégradé sombre pour renforcer la lisibilité du texte */
    .hero-frise-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(to bottom,
                rgba(15, 5, 26, 0.55) 0%,
                rgba(15, 5, 26, 0.2) 40%,
                rgba(15, 5, 26, 0.2) 60%,
                rgba(15, 5, 26, 0.65) 100%
            );
        z-index: 1;
        pointer-events: none;
    }

    /* Overlay texte centré sur l'image */
    .hero-frise-overlay {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
    }

    /* Ajustements du titre dans l'overlay */
    .hero-frise-overlay .hero-title {
        font-size: clamp(2rem, 6vw, 4.5rem);
        margin-bottom: 0.5rem;
        text-shadow:
            0 2px 20px rgba(0, 0, 0, 0.8),
            0 0 40px rgba(0, 255, 255, 0.3);
    }

    /* Sous-titres dans l'overlay : plus compacts */
    .hero-frise-overlay .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.2rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
        opacity: 0.85;
    }

    /* Citation sous la frise */
    .citation {
        margin-top: 1.8rem;
    }

    /* ---- RESPONSIVE MOBILE ---- */
    @media (max-width: 768px) {
        .hero-frise-img {
            height: 240px;
        }

        .hero-frise-overlay .hero-title {
            font-size: clamp(1.5rem, 7vw, 2.5rem);
        }

        .hero-frise-overlay .hero-subtitle {
            font-size: 0.8rem;
        }

        .citation {
            font-size: 1rem !important;
            margin-top: 1.2rem;
        }
    }

/* Fin écran accueil ------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Profil -----------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    /* Photo profil */
    .profil-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 3rem;
        flex-wrap: wrap;
        }

    .profil-avatar img {
        width: 250px;
        clip-path: polygon(20px 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%, 0% 20px);
        object-fit: cover;
        border: 1px solid var(--border-color);
        }

    .legend {
        text-align: center;
        font-size: 0.8rem;
        color: var(--text-secondary);
        font-family: Arial, Helvetica, sans-serif;
        font-style: italic;
    }

    /* Bio */
    .profil-content {
        flex: 1;
    }

    /* Bouton CV*/
    .hero-buttons {
        display: flex;
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 25px;
    }

    .btn-primary {
        background: #00ffee;
        background: linear-gradient(90deg, rgba(0, 255, 238, 1) 0%, rgba(0, 255, 238, 1) 50%, rgba(0, 255, 144, 1) 100%);
        color: var(--darker-bg);
        padding: 1.2rem 3rem;
        border: none;
        text-decoration: none;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
    }

    /*Timeline*/
    .timeline-wrapper {
    overflow-x: auto; /* scroll horizontal */
    padding: 40px 0;
    }

    .timeline-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 100px; /* espace fixe entre items */
    position: relative;
    min-width: max-content; /* permet le scroll si trop large */
    }

        /* Ligne horizontale au centre des points */
        .timeline-horizontal::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(to right, var(--primary-cyan), var(--primary-purple));
        z-index: 1;
        }

        /* Chaque item */
        .timeline-item {
        position: relative;
        flex: 0 0 auto;
        width: 200px; /* largeur fixe ou ajustable */
        text-align: center;
        }

        /* Point */
        .timeline-item::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 16px;
        height: 16px;
        background: var(--primary-orange);
        border-radius: 50%;
        box-shadow: 0 0 10px var(--primary-orange);
        z-index: 2;
        }

        /* Box */
        .timeline-content {
        position: relative;
        background: rgba(0, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        padding: 10px;
        width: max-content;
        }

        /* Alternance haut/bas */
        .timeline-item.top .timeline-content {
        margin-bottom: 180px; /* distance par rapport à la ligne */
        }

        .timeline-item.bottom .timeline-content {
        margin-top: 180px;
        }
        
/* Fin profil ----------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Formations ----------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    /* Image */
    .formation_img img {
        display: block;
        border-radius: 35px;
        margin: 15%;
        width: 1300px;
        height: 300px;
        margin-top: 5px;
        margin-bottom: 40px;
    }

/* Fin formations ------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Entreprises ---------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    /* Images */
    .mousquetaire_img img {
        height: 180px;
        border-radius: 15px;
        border: 2px solid var(--primary-cyan);
        box-shadow: 0 0 25px var(--primary-cyan);
        margin: 30%;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .antartic_img img {
        border-radius: 35px;
        width: 1000px;
        height: 280px;
        margin: 25%;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    /* Menu déroulant */
    .entreprise {
        margin: 2px 50px;
        padding: 1rem 2rem;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
    }
    .entreprise summary {
        display: block;
        background: #022f3a80;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        font-size: 2.2rem;
        color: var(--primary-cyan);
        text-shadow: 0 0 15px var(--primary-cyan);
        list-style: none;
        position: relative;
        margin-bottom: 1rem;
        padding-left: 10px;
    }
    .entreprise summary:hover {
        box-shadow: var(--primary-cyan) 0px 0px 15px;
        transform: translateY(-3px);
    }
    .entreprise summary::after {
        content: "▸";
        position: absolute;
        right: 0;
        top: 0;
        transition: transform 0.3s ease;
        color: var(--primary-cyan);
    }
    .entreprise[open] summary::after {
        transform: rotate(90deg);
    }

    .entreprise-content {
        margin-top: 1rem;
        text-align: justify;
    }

/* Fin entreprises -----------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Situation professionnelle -------------------------------------------------------------------------------------------------------------------------------------------------*/
    /* Images*/
    .realisation-real_img img {
        width: 240px;
        height: 130px;
        margin: 5px 25px;
    }

    .features-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    /* Cartes MSP */
        /* Grilles de MSP */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
        }
        /* Cartes */
        .feature-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            padding: 3rem;
            position: relative;
            transition: all 0.4s ease;
            backdrop-filter: blur(10px);
            clip-path: polygon(20px 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%, 0% 20px);
        }
        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgb(0, 255, 255);
        }
        .feature-card:hover::before {
            opacity: 0.1;
        }

/* Fin situation professionnelle ---------------------------------------------------------------------------------------------------------------------------------------------*/
/* Procédures ----------------------------------------------------------------------------------------------------------------------------------------------------------------*/
        /* Images */
        .proc_img img {
            display: block;
            height: 40px;
            margin: 10px;
            flex-shrink: 0; /* empêche l’image de rétrécir */
        }

        /* Liens procédures */
        .proc_link1 {
            display: block;
            position: relative;
            background:rgba(1, 58, 58, 0.452);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            margin: 0 500px 8px 100px;
            min-width: 800px; /* taille minimale de la boîte */
        }
        .proc_link1:hover {
            box-shadow: var(--primary-cyan) 0px 0px 20px;
            transform: translateY(-3px);
        }

        /* Menu déroulant */
        .proc_link1 summary {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: nowrap;
            white-space: nowrap;
            font-size: large;
            font-weight: bold;
            color: var(--primary-cyan);
        }
        .proc_link1 summary:hover {
            box-shadow: var(--primary-cyan) 0px 0px 15px;
            transform: translateY(-3px);
        }.proc_link1 summary::after {
            content: "▸";
            position: absolute;
            right: 0;
            top: 0;
            transition: transform 0.3s ease;
            color: var(--primary-cyan);
        }
        .proc_link1[open] summary::after {
            transform: rotate(90deg);
        }
            /* Container sous-menu */
            .proc_link-content {
                margin-top: 1rem;
                animation: fadeIn 0.4s ease;
                text-align: justify;
            }

            .proc_link2 {
                display: block;
                position: relative;
                background:rgba(1, 58, 58, 0.452);
                border: 1px solid var(--border-color);
                border-radius: 8px;
                margin: 0 500px 8px 100px;
                min-width: 650px; /* taille minimale de la boîte */
            }
            .proc_link2:hover {
                box-shadow: var(--primary-cyan) 0px 0px 20px;
                transform: translateY(-3px);
            }
            .proc_link2 summary:hover {
                box-shadow: var(--primary-cyan) 0px 0px 15px;
                transform: translateY(-3px);
            }
            .proc_link2 summary::after {
                content: "▸";
                position: absolute;
                right: 0;
                top: 0;
                transition: transform 0.3s ease;
                color: var(--primary-cyan);
            }

/* Fin procédures ------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Pages procédure -----------------------------------------------------------------------------------------------------------------------------------------------------------*/
            /* Image */
            .procedures_head_img img {
                height: 180px;
                margin-left: 35%;
                margin-top: 150px;
            }
            img.procedures_screen {
                display: block;
                margin-left: 28px;
                margin-top: 0.6rem;
                margin-bottom: 0.6rem;
            }
            .ciscimg {
                display: block;
                height: 500px;
                margin: 10px;
            }

            /* Titre déroulant */
            .procedures {
                margin: 2px 30px;
                padding: 0.8rem 1.5rem;
                transition: all 0.3s ease;
                backdrop-filter: blur(5px);
            }
            .procedures summary {
                font-size: 2.2rem;
                color: var(--primary-green);
                text-shadow: 0 0 15px var(--primary-cyan);
                list-style: none;
                position: relative;
                margin-bottom: 1rem;
            }
            .procedures summary::after {
                content: "▸";
                position: absolute;
                right: 0;
                top: 0;
                transition: transform 0.3s ease;
                color: var(--primary-cyan);
            }
            .procedures[open] summary::after {
                transform: rotate(90deg);
            }
            .procedures summary:hover {
            text-shadow: 0 0 20px var(--primary-cyan), 0 0 30px var(--primary-green);
            }
            .procedures-content {
                margin-top: 1rem;
                animation: fadeIn 0.4s ease;
                text-align: justify;
            }

            /* Titre de niveau 2 dépliable */
            details.procedures-h2 {
                margin: 8px 10px 4px 10px;
                border-left: 3px solid rgba(0, 255, 255, 0.25);
                padding-left: 0.8rem;
                transition: border-color 0.3s ease;
            }
            details.procedures-h2[open] {
                border-left-color: var(--primary-cyan);
            }
            details.procedures-h2 > summary {
                font-size: 1.7rem;
                font-weight: 700;
                color: var(--primary-cyan);
                text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
                list-style: none;
                position: relative;
                padding-right: 2rem;
                cursor: pointer;
                margin-bottom: 0.5rem;
                transition: text-shadow 0.3s ease;
                font-family: 'JetBrains Mono', 'Fira Code', monospace;
            }
            details.procedures-h2 > summary::after {
                content: "▸";
                position: absolute;
                right: 0;
                top: 0;
                transition: transform 0.3s ease;
                color: var(--secondary-amber);
                font-size: 1rem;
            }
            details.procedures-h2[open] > summary::after {
                transform: rotate(90deg);
            }
            details.procedures-h2 > summary:hover {
                text-shadow: 0 0 18px var(--primary-cyan), 0 0 28px rgba(0, 255, 255, 0.3);
            }
            .procedures-h2-content {
                padding-top: 0.5rem;
                animation: fadeIn 0.3s ease;
            }

/* Fin pages procédure -------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Veille techno -------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/* Fin veille techno ---------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Contact -------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    .contact {
        padding: 120px 2rem;
        background: rgba(0, 255, 255, 0.02);
        border-top: 1px solid var(--border-color);
    }

    .contact-form-wrapper {
        max-width: 600px;
        margin: 0 auto;
        margin-top: 4rem;
    }

    /* Formulaire */
    .contact-form {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        padding: 3rem;
        backdrop-filter: blur(10px);
        clip-path: polygon(30px 0%, 100% 0%, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0% 100%, 0% 30px);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    }
        /* Item */
        .form-group {
            margin-bottom: 2rem;
        }
        .form-group label {
            display: block;
            color: var(--primary-cyan);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
            text-shadow: 0 0 10px var(--primary-cyan);
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem 1.5rem;
            background: rgba(0, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s ease;
            clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
        }
        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: var(--text-secondary);
            opacity: 0.7;
        }
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-cyan);
            background: rgba(0, 255, 255, 0.08);
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
        }
        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }
    
    /* Bouton transmettre */
    .btn-submit {
        width: 100%;
        cursor: pointer;
        font-size: 1rem;
        margin-top: 1rem;
        border: none;
        transition: all 0.3s ease;
    }
    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(229, 231, 235, 0.4);
    }

    /* Image lien linkedin */
    .linkedin {
        display: block;
        margin: 0 auto;
        width: 70px;
        margin-top: 20px;
    }
    img#ca {
        display: block;
        margin: 0 auto;
        width: 70px;
    }

/* Fin contact ---------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Hiérarchisation texte -----------------------------------------------------------------------------------------------------------------------------------------------------*/
    /* Titre page */
    .features {
        padding: 120px 0 15px 0px;
        position: relative;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 5rem;
        margin-top: 20px;
        position:relative;
    }

    .section-title {
        font-size: 3rem;
        font-weight: 800;
        color: var(--primary-cyan);
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 1rem;
        position: relative;
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-cyan), var(--primary-green));
        box-shadow: 0 0 20px var(--primary-cyan);
    }

    .section-subtitle {
        font-size: 1.2rem;
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0 auto;
    }

    /* Profil - Bio - texte */
    .profil-intro {
        text-align: justify;
        font-family: Arial, Helvetica, sans-serif;
        color: var(--text-secondary);
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    /* Texte formation */
    .formation-content {
        display:block;
        margin: 0 200px;
    }
        /* p (idem entreprise) */
        .formation-description {
            text-align: justify;
            font-family:Arial, Helvetica, sans-serif;
            color: var(--text-secondary);
            font-size: 1rem;
            margin-bottom: 0.8rem;
        }
        /* h2 (idem entreprise) */
        h2.formation {
            text-align: justify;
            font-family: Arial, Helvetica, sans-serif;
            color: var(--primary-cyan);
            text-shadow: 0 0 15px var(--primary-cyan);
            font-size: 1.5rem;
            font-weight: bold;
            margin-top: 30px;
        }
        /* ul (idem formation) */
        ul.formation li {
            font-family: Arial, Helvetica, sans-serif;
            font-style: italic;
            color: var(--text-secondary);
            margin-left: 80px;
        }
    /* Situation professionnelle */
        /* titre h3 */
        .feature-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-cyan);
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        /* p */
        .feature-card p {
            color: var(--text-secondary);
            line-height: 1.8;
        }

    /* Menu procédures */
    .proc_link1 a {
        display: flex; /* place l’image et le texte sur la même ligne */
        align-items: center; /* centre verticalement */
        gap: 15px; /* espace entre image et texte */
        flex-wrap: nowrap; /* empêche le texte de passer à la ligne */
        white-space: nowrap; /* empêche le texte de se couper */
        font-size: large;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        color: var(--primary-cyan);
    }
    .proc_link2 a {
        display: flex; /* place l’image et le texte sur la même ligne */
        align-items: center; /* centre verticalement */
        gap: 15px; /* espace entre image et texte */
        flex-wrap: nowrap; /* empêche le texte de passer à la ligne */
        white-space: nowrap; /* empêche le texte de se couper */
        font-size: large;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        color: var(--primary-cyan);
    }

    /* Pages procédure */
        /* Titre h*/
        h.procedures {
            display: block;
            text-align: center;
            color: var(--primary-cyan);
            text-shadow: 0 0 15px var(--primary-cyan);
            margin-bottom: 100px;
            font-size: 4rem;
            font-weight: 800;
        }

        /* Titre h2 - maintenant géré via details.procedures-h2 summary, mais on garde pour compatibilité */
        h2.procedures {
            text-align: justify;
            color: var(--primary-cyan);
            text-shadow: 0 0 15px var(--primary-cyan);
            margin: 15px 20px 5px;
            font-size: 1.8rem;
        }

        /*Titre h3 - sous-section, visuel différencié */
        h3.procedures {
            text-align: justify;
            color: var(--secondary-amber);
            text-shadow: 0 0 8px rgba(251, 191, 36, 0.35);
            margin: 6px 20px 2px 20px;
            font-size: 1.25rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            border-bottom: 1px solid rgba(251, 191, 36, 0.18);
            padding-bottom: 2px;
        }
        /* Liste h3 */
        ul.h3 li {
            display: list-item;
            list-style-type: disc;
            unicode-bidi: isolate;
            margin-left: 100px;
        }

        /* Praragraphe p procédures */
        p.procedures {
            text-align: justify;
            font-family: Arial, Helvetica, sans-serif;
            
            margin: 10px;
        }

    /* Liste */
    ul {
        font-family: Arial, Helvetica, sans-serif;
        text-align: left;
    }
    /* Niveau 1 : disque cyan, blanc — limité aux listes de contenu hors nav */
    .procedures-content li,
    .procedures-h2-content li {
        display: list-item;
        unicode-bidi: isolate;
        margin-left: 28px;
        margin-top: 0.3rem;
        margin-bottom: 0.3rem;
        list-style-type: disc;
        color: var(--text-primary);
    }
    .procedures-content li::marker,
    .procedures-h2-content li::marker {
        color: var(--primary-cyan);
        font-size: 1.05em;
    }
    /* Rétablissement du comportement par défaut pour les li hors procédures */
    li {
        display: list-item;
        unicode-bidi: isolate;
        margin-left: 28px;
    }

    /* Niveau 2 : chevron (›), italique, gris clair */
    ul.procedures li {
        display: list-item;
        list-style-type: none;
        unicode-bidi: isolate;
        text-align: initial;
        font-style: italic;
        color: #a1a1aa;
        margin-left: 28px;
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
        position: relative;
        padding-left: 1em;
    }
    ul.procedures li::before {
        content: "›";
        position: absolute;
        left: 0;
        color: var(--secondary-amber);
        font-style: normal;
        font-size: 1.2em;
        line-height: 1.4;
    }

    /* Niveau 3 : tiret, indenté modéré, vert doux */
    ul.procedures ul.procedures li {
        list-style-type: none;
        font-style: normal;
        color: #7a8a99;
        margin-left: 24px;
        margin-top: 0.15rem;
        margin-bottom: 0.15rem;
        padding-left: 1em;
    }
    ul.procedures ul.procedures li::before {
        content: "–";
        color: var(--secondary-green);
        font-size: 1em;
    }

    /* Niveau 4 : point diamond, encore plus atténué, violet doux */
    ul.procedures ul.procedures ul.procedures li {
        list-style-type: none;
        font-style: normal;
        color: #5a6677;
        font-size: 0.92em;
        margin-left: 20px;
        margin-top: 0.1rem;
        margin-bottom: 0.1rem;
        padding-left: 1em;
    }
    ul.procedures ul.procedures ul.procedures li::before {
        content: "◦";
        color: var(--primary-purple);
        font-size: 1.1em;
        line-height: 1.3;
    }

    /* Liste troisième niveau Mot de passe */
    ul.mdp li {
        display: list-item;
        list-style-type: square;
        font-style: normal;
        font-weight: bold;
        color: var(--primary-grey);
    }
    /* Liste code */
    ul.code li{
        color: var(--primary-cyan);
        font-size: large;
        font-style: normal;
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        margin-right: 500px;
        border-radius: 8px;
        white-space: pre-wrap; /* Permet de couper les lignes longues
        text-shadow: 0 0 10px var(--primary-cyan);*/
    }
    /* Liste lien */
    ul a {
        color: var(--primary-cyan);
        text-decoration: none;
        font-weight: bold;
        transition: text-shadow 0.3s ease;
    }
    ul a:hover {
        text-shadow: 0 0 10px var(--primary-cyan);
    }

    /* Texte entreprise */
    .entreprise-content {
        margin-top: 1rem;
        text-align: justify;
    }

    /* Mise en surbrillance gras */
    .highlight {
        color: var(--primary-cyan);
        text-shadow: 0 0 8px var(--primary-cyan);
    }

    /* Code */
    code {
        color: var(--primary-cyan);
        font-style: normal;
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        border-radius: 8px;
        white-space: pre-wrap; /* Permet de couper les lignes longues
        text-shadow: 0 0 10px var(--primary-cyan);*/
    }

    /* Page de code */
    pre code {
        display: inline-block;
        background: rgba(0, 255, 255, 0.05);
        border: 1px solid rgba(0, 255, 255, 0.2);
        color: var(--primary-cyan);
        font-size: medium;
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        padding: 0.7rem 1rem;
        width: fit-content;
        max-width: 100%;
        margin-right: auto;
        margin-top: 0.4rem;
        margin-bottom: 0.4rem;
        border-radius: 8px;
        white-space: pre-wrap; /* Permet de couper les lignes longues */
        text-shadow: 0 0 10px var(--primary-cyan);
    }

    /* Quand dans un wrapper avec barre : ajustement */
    .code-block-wrapper pre code {
        margin-top: 0;
        margin-bottom: 0;
        border-top: none;
        border-radius: 0 0 8px 8px;
    }

    a {
        text-decoration: none;        /* enlève le soulignement */
        color: inherit;               /* garde la couleur du texte du parent */
    }

    a:hover {
        text-decoration: none;        /* évite que le hover ne réactive le soulignement */
    }

/* Fin hiérarchisation texte ----------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Footer -----------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    .footer {
        padding: 60px 2rem 40px;
        border-top: 1px solid var(--border-color);
        text-align: center;
        background: rgba(0, 0, 0, 0.5);
        margin-top: 80px;
    }

    .footer-content {
        max-width: 1400px;
        margin: 0 auto;
    }

    .footer-links {
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        position: relative;
        padding: 0 0.5rem;
    }

    .footer-links a:hover {
        color: var(--primary-cyan);
        text-shadow: 0 0 10px var(--primary-cyan);
        transform: translateY(-2px);
    }

    .footer-links a::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 1px;
        background: var(--primary-cyan);
        transition: width 0.3s ease;
        box-shadow: 0 0 5px var(--primary-cyan);
    }

    .footer-links a:hover::after {
        width: 80%;
    }

    .footer-separator {
        color: var(--primary-cyan);
        opacity: 0.5;
        font-size: 0.8rem;
        margin: 0 0.2rem;
    }

    .footer-bottom {
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    .footer-bottom p {
        margin: 0.5rem 0;
    }

    .footer-credit {
        font-size: 0.85rem;
        opacity: 0.8;
        margin-top: 0.5rem;
    }

    .footer-credit a {
        color: var(--primary-cyan);
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 600;
    }
/* Fin footer -------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*Mobile Responsive--------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* --- VARIABLES & BASE --- */
:root {
    --nav-height: 78px;
    --mobile-padding: 1.2rem;
}

/* Prévention du scroll horizontal */
body, html {
    overflow-x: hidden !important;
}

/* ==========================NAVIGATION MOBILE=============================== */

@media (max-width: 768px) {
    /* Container navigation */
    nav .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 1rem !important;
        overflow: visible;
    }

    /* Logo */
    nav .logo {
        font-size: 1.1rem !important;
        max-width: 55%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: 1px;
    }

    /* Masquer les liens desktop */
    .nav-links,
    .nav-bottom .cyber-button {
        display: none;
    }
}

/* =======================BOUTON HAMBURGER MOBILE============================ */

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--primary-cyan);
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
    z-index: 9999;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block !important;
        margin-left: auto;
        transform: scale(0.9);
    }
}

.mobile-menu-button:hover {
    color: var(--primary-orange);
    transform: scale(1.1);
}

.hamburger {
    position: relative;
    width: 25px;
    height: 20px;
    margin: auto;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 28px;
    background: var(--primary-cyan);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
    box-shadow: 0 0 5px var(--primary-cyan);
    transform-origin: center;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* État actif du hamburger */
.mobile-menu-button.active .hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
    background: var(--primary-orange);
}

.mobile-menu-button.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -25px;
}

.mobile-menu-button.active .hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
    background: var(--primary-orange);
}

/* ===========================MENU MOBILE==================================== */

.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    right: -80%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--darker-bg);
    backdrop-filter: blur(20px);
    border-left: 2px solid var(--border-color);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
}

.mobile-menu.active {
    right: 0;
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header du menu */
.mobile-menu-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mobile-menu-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 15px var(--primary-cyan);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.mobile-menu-logo::before {
    content: '>';
    margin-right: 0.5rem;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

.mobile-menu-logo::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--primary-cyan);
}

.mobile-menu-logo:hover {
    text-shadow: 0 0 25px var(--primary-cyan);
    transform: scale(1.05);
}

.mobile-menu-logo:hover::before {
    margin-right: 0.8rem;
    text-shadow: 0 0 10px var(--primary-orange);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

/* Navigation du menu */
.mobile-menu-nav {
    padding: 0;
    flex-grow: 1;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 2rem 0 0 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin: 0;
}

.mobile-menu-nav a {
    display: block;
    padding: 1.5rem 2rem;
    margin-left: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(229, 231, 235, 0.1);
}

.mobile-menu-nav a:hover {
    color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.05);
    padding-left: 3rem;
    text-shadow: 0 0 10px var(--primary-cyan);
}

.mobile-menu-nav a::before {
    content: '>';
    position: absolute;
    left: 2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-orange);
}

.mobile-menu-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-nav li:last-child a {
    border-bottom: none;
}

.mobile-menu-cta {
    padding: 2rem;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
}

/* ====================BOUTONS & ÉLÉMENTS INTERACTIFS======================== */

.btn-secondary {
    background: transparent;
    color: var(--primary-cyan);
    padding: 1.2rem 3rem;
    border: 2px solid var(--primary-cyan);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--darker-bg);
    box-shadow: 0 0 30px var(--primary-cyan);
}

/* ===================LAYOUT RESPONSIVE GÉNÉRAL============================== */

@media (max-width: 768px) {
    /* Hero section */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Grilles */
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cartes */
    .feature-card {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        padding: 1.2rem;
        position: relative;
        transition: all 0.3s ease;
        backdrop-filter: blur(8px);
        clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
        height: auto;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Sections */
    .section,
    .content-section,
    .profil-section,
    .formations-section,
    .text-wrapper,
    .content-wrapper,
    .section-content,
    .profile-section,
    .text-block,
    .contact-form-wrapper,
    .profil-container,
    .formations-container,
    .page-content {
        padding-left: var(--mobile-padding) !important;
        padding-right: var(--mobile-padding) !important;
    }

    /* Titres */
    .section-header {
        font-size: 2.5rem;
        margin-top: 4rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    section .section-header {
        margin-top: 4rem !important;
    }

    /* Contact */
    .contact {
        padding: 80px 1rem;
    }

    .contact .section-header {
        padding-top: 6rem !important;
    }

    .contact-form {
        width: 100% !important;
        padding: 1.5rem !important;
    }

    /* Boutons */
    .btn-primary,
    .btn-secondary,
    .cyber-button {
        width: 100% !important;
        max-width: none !important;
    }

    /* Footer */
    .footer {
        margin-top: 40px;
        padding: 40px 1rem 30px;
    }

    .footer-links {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .footer-links a {
        padding: 0.5rem 1rem;
    }

    .footer-separator {
        display: none;
    }

    /* Texte général */
    p, li {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* =====================CONTENU SPÉCIFIQUE - PROFIL========================== */

.profile-section p,
.profile-section li,
.formations-section p,
.formations-section li,
.text-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    line-height: 1.7;
}

.profil-container {
    max-width: 900px;
    margin: 0 auto;
}

.profil-content {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .profil-container {
        flex-direction: column;
        text-align: center;
    }

    .profil-avatar img {
        width: 180px !important;
    }

    .profil-content {
        text-align: center;
    }

    .profile-section p,
    .profile-section li,
    .formations-section p,
    .formations-section li,
    .text-block {
        max-width: 100%;
        padding: 0 var(--mobile-padding);
    }

    .profil-intro,
    .section-subtitle {
        font-size: 0.8rem;
    }
}

/* =====================CONTENU SPÉCIFIQUE - FORMATIONS====================== */

.formation-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.formation-description,
.formation-content .formation {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.formation-content ul.formation {
    padding-left: 1.2rem;
}

@media (max-width: 768px) {
    .formation-content,
    .entreprise,
    .proc_link1,
    .proc_link2,
    .procedures {
        margin: 0 10px !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 0 var(--mobile-padding);
        max-width: 100%;
    }

    .entreprise summary {
        font-size: 1.5rem;
    }

    .formation-description {
        font-size: 0.8rem;
    }
}

/* =========================IMAGES RESPONSIVES =============================== */

@media (max-width: 768px) {
    .formation_img img,
    .mousquetaire_img img,
    .antartic_img img,
    img.procedures_screen,
    .ciscimg {
        width: 100% !important;
        height: auto !important;
        margin: 10px 0 !important;
    }

    .procedures_head_img img {
        width: 50%;
        height: auto;
        margin-top: 20%;
        margin-bottom: 10%;
        margin-left: 25%;
    }
}

/* =====================CONTENU SPÉCIFIQUE - PROCÉDURES====================== */

@media (max-width: 768px) {
    .procedures summary {
        font-size: 1.2rem;
    }

    details.procedures-h2 > summary {
        font-size: 1rem !important;
    }

    details.procedures-h2 {
        margin: 6px 5px !important;
        padding-left: 0.5rem;
    }

    h.procedures {
        font-size: 1.5rem !important;
        margin-bottom: 30px !important;
    }

    h2.procedures {
        font-size: 1rem !important;
    }

    h3.procedures {
        font-size: 0.8rem !important;
    }

    p.procedures {
        font-size: 0.8rem;
    }

    .proc_link1 summary,
    .proc_link2 summary {
        font-size: 0.8rem !important;
    }

    .proc_link1 a,
    .proc_link2 a {
        font-size: 0.8rem;
    }

    .proc_img img {
        height: 30px !important;
        margin: 5px !important;
    }

    /* Listes procédures */
    ul.procedures li {
        font-size: 0.8rem;
        margin-left: 5px;
    }

    ul li {
        margin-left: 20px;
        font-size: 0.8rem;
    }

    ul.mdp li,
    ul.code li {
        font-size: 0.8rem;
    }

    ul.code li {
        margin-right: 20px;
    }

    pre code {
        margin-left: 5px;
        font-size: 0.6rem;
    }
}

/* =============OPTIMISATIONS PERFORMANCES MOBILE====================== */

@media (max-width: 768px) {
    /* Désactivation des animations lourdes */
    .matrix-rain,
    .data-streams,
    .noise-overlay {
        display: none;
    }

    .particles {
        opacity: 0.5;
    }

    .particle {
        animation-duration: 30s !important;
    }

    .orb {
        filter: blur(100px);
        opacity: 0.3;
    }

    .scanlines::before {
        animation: none;
        transform: translateY(0);
    }
}

/* =========================ANIMATIONS KEYFRAMES ====================== */

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fin mobile responsive --------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Blocs de code : barre langue + bouton copier -------------------------------------------------------------------------------------------------------------------------------*/
    .code-block-wrapper {
        display: table;
        margin-top: 0.4rem;
        margin-bottom: 0.4rem;
        max-width: 100%;
    }
    .code-block-wrapper pre {
        margin: 0;
    }
    .code-block-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.25rem 0.6rem;
        background: rgba(0, 255, 255, 0.08);
        border: 1px solid rgba(0, 255, 255, 0.2);
        border-bottom: none;
        border-radius: 8px 8px 0 0;
        gap: 0.5rem;
        box-sizing: border-box;
        width: 100%;
    }
    .code-lang-badge {
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 0.1rem 0.5rem;
        border-radius: 4px;
    }
    .lang-bash       { color: var(--primary-green);   background: rgba(57,255,20,0.1);    border: 1px solid rgba(57,255,20,0.3);    }
    .lang-powershell { color: #7b9fff;                background: rgba(123,159,255,0.1); border: 1px solid rgba(123,159,255,0.3); }
    .lang-config     { color: var(--secondary-amber);  background: rgba(251,191,36,0.1);  border: 1px solid rgba(251,191,36,0.3);  }
    .lang-generic    { color: var(--primary-cyan);     background: rgba(0,255,255,0.08);  border: 1px solid rgba(0,255,255,0.25);  }
    .code-copy-btn {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        background: transparent;
        border: 1px solid rgba(0, 255, 255, 0.25);
        color: var(--text-secondary);
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        font-size: 0.68rem;
        padding: 0.15rem 0.5rem;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .code-copy-btn:hover {
        border-color: var(--primary-cyan);
        color: var(--primary-cyan);
        background: rgba(0, 255, 255, 0.07);
        box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
    }
    .code-copy-btn.copied {
        border-color: var(--primary-green);
        color: var(--primary-green);
        background: rgba(57, 255, 20, 0.08);
    }
/* Fin blocs de code ----------------------------------------------------------------------------------------------------------------------------------------------------------*/
