<style>
                /* Reset et styles de base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root {
            /* Couleurs ECE Espace */
            --bg-primary: #0a0a0a;
            --bg-secondary: #111111;
            --surface: #1a1a1a;
            --surface-hover: #262626;
            --button-primary: #4c1d95;
            --button-hover: #5b21b6;
            --accent: #6d28d9;
            --text-primary: #ffffff;
            --text-secondary: #a3a3a3;
            --text-muted: #6b7280;
            --highlight: #fbbf24;
            --border: #333333;
            --event-lift: #16a34a;
            --event-acc: #dc2626;
            --event-general: #0ea5e9;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }
        /* Header épais collé en haut */
        .header {
          position: fixed;
          top: 0;                  /* touche le haut de la page */
          left: 0;
          right: 0;
          height: 90px;            /* hauteur plus épaisse */
          background-color: rgba(0,0,0,0.95);
          z-index: 10000;
          display: flex;
          align-items: center;     /* centre verticalement le contenu */
          box-shadow: 0 4px 15px rgba(0,0,0,0.3);
          padding: 0 20px;
        }
        
        /* Container pour aligner logo et menu */
        .nav-container {
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;
          max-width: 1200px;
          margin: 0 auto;
        }
        
        .nav-logo img {
        height: 150px !important;
        width: auto !important;
        }



        
        /* Menu */
        .nav-menu {
          display: flex;
          gap: 30px;
          list-style: none;
        }
        
        /* --- Correction du menu mobile --- */
        @media (max-width: 768px) {
        
          .nav-menu {
            position: fixed;
            top: 0;
            right: -100%;     /* ✔ Cache complètement le menu hors de l’écran */
            height: 100vh;
            width: 70%;
            background-color: #000;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 40px;
            padding: 0;
            list-style: none;
            transition: right 0.3s ease;
            z-index: 9999;
          }
        
          /* Quand on ouvre le menu */
          .nav-menu.active {
            right: 0;         /* ✔ Le menu glisse correctement */
          }
        
          /* Masque tout débordement horizontal */
          html, body {
            overflow-x: hidden;
          }
        }


        
        .nav-link {
          color: white;
          text-decoration: none;
          font-weight: 500;
          font-family: 'Inter', sans-serif;
        }
        
        .nav-link:hover {
          text-decoration: underline;
        }
        /* Menu mobile */
        .nav-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
        }
        .nav-toggle .bar {
            width: 25px;
            height: 3px;
            background: var(--text-primary);
            transition: 0.3s;
            border-radius: 2px;
        }
        /* Hero Section avec image de fond */
        .hero-fullscreen {
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-image: url('bureau24.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
            transition: transform 0.6s ease-out;
        }
        .hero-fullscreen.scrolled {
            transform: translateY(50px); 
        }
        .hero-fullscreen.shrink {
            height: 50vh;
            position: relative;
            background-attachment: scroll;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(17, 17, 17, 0.5) 50%, rgba(26, 26, 26, 0.8) 100%);
            z-index: 2;
        }
        .hero-content {
            position: relative;
            z-index: 3;
            text-align: center;
            max-width: 800px;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center; /* centre le contenu */
            justify-content: center; /* centre verticalement */
            gap: 1rem; /* espace entre les éléments */
        }
        .hero-title {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(4rem, 12vw, 8rem);
            font-weight: 900;
            margin-bottom: 2rem;
            color: #ffffff;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
            transition: all 0.6s ease;
            white-space: nowrap;
        }
        .hero-fullscreen.shrink .hero-title {
            font-size: clamp(2rem, 6vw, 4rem);
            margin-bottom: 1rem;
        }
        
        .hero-fullscreen.shrink .hero-subtitle {
            opacity: 0;
            margin-bottom: 0;
        }
        .hero-description {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            color: #ffffff;
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            opacity: 1;
            transition: all 0.6s ease;
        }
        .hero-fullscreen.shrink .hero-description {
            opacity: 0;
            margin-bottom: 0;
        }
        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            opacity: 1;
            transition: all 0.6s ease;
        }
        .hero-fullscreen.shrink .hero-buttons {
            opacity: 0;
        }
        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            cursor: pointer;
            font-size: 1rem;
        }
        .btn-primary {
            text-align: center;
            background: var(--button-primary);
            color: white;
        }
        .btn-primary:hover {
            background: var(--button-hover);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(76, 29, 149, 0.4);
        }
        .btn-outline {
            background: transparent;
            color: var(--text-primary);
            border: 2px solid var(--button-primary);
        }
        .btn-outline:hover {
            background: var(--button-primary);
            color: white;
        }
        /* Scroll indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            color: var(--text-primary);
            font-size: 2rem;
            animation: bounce 2s infinite;
            z-index: 4;
            opacity: 1;
            transition: opacity 0.6s ease;
        }
        .hero-fullscreen.shrink .scroll-indicator {
            opacity: 0;
        }
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }
        /* Content container */
        .main-content {
        position: relative;
        background: var(--bg-primary);
        z-index: 2;
        min-height: 100vh;
        }
        .main-content.moved-up {
            margin-top: 50vh;
        }
        
        .section {
            padding: 5rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        .section-title {
            font-family: 'Inter', sans-serif;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--text-primary);
        }
        .section-description {
            text-align: left;
            font-size: 1.1rem;
            color: #ffffff;
            max-width: 800px;
            margin: 0 auto 3rem;
        }
        /* Stats */
        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        .stat {
            text-align: center;
            padding: 2rem;
            background: var(--surface);
            border-radius: 16px;
            border: 1px solid var(--border);
        }
        .stat-number {
            font-family: 'Inter', sans-serif;
            font-size: 2.5rem;
            font-weight: 900;
            color: #d8b4fe;
            display: block;
        }
        .stat-label {
            color: var(--text-secondary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }
        /* Cards pour projets et événements - 4 par ligne */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem; /* espace horizontal et vertical */
            margin: 3rem 0;
        }
        @media (min-width: 1200px) {
            .cards-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        @media (min-width: 900px) and (max-width: 1199px) {
            .cards-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (min-width: 600px) and (max-width: 899px) {
            .cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 899px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }
        }

        .card {
            background: var(--surface);
            border-radius: 16px;
            padding: 1.5rem;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            min-height: 200px; /* évite le chevauchement si contenu court */
        }
        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            border-color: var(--accent);
        }
        .card-icon {
            font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            display: block;
        }
        .card-title {
            font-family: 'Inter', sans-serif;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }
        .card-description {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1rem;
            flex: 1;
            font-size: 0.9rem;
        }
        .card-link {
            color: var(--highlight);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: color 0.3s ease;
            margin-top: auto;
        }
        .card-link:hover {
            color: var(--accent);
        }
        /* Widget Planning */
        .planning-widget {
            background: var(--surface);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid var(--border);
            margin: 3rem 0;
        }
        .planning-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        .planning-title {
            font-family: 'Inter', sans-serif;
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        .planning-subtitle {
            text-align: left;
            color: var(--text-primary);
            font-size: 1rem;
        }
        .events-timeline {
            max-width: 800px;
            margin: 0 auto;
        }
        .event {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: var(--bg-primary);
            border-radius: 12px;
            border-left: 4px solid var(--accent);
            position: relative;
            transition: all 0.3s ease;
        }
        .event:hover {
            transform: translateX(10px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        .event.lift-event {
            border-left-color: var(--event-lift);
        }
        .event.acc-event {
            border-left-color: var(--event-acc);
        }
        .event.general-event {
            border-left-color: var(--event-general);
        }
        .event-date {
            min-width: 120px;
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--highlight);
            margin-right: 1rem;
        }
        .event-content {
            flex: 1;
        }
        .event-title {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.3rem;
            font-size: 1rem;
        }
        .event-description {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.4;
        }
        .event-category {
            display: inline-block;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 0.5rem;
        }
        .category-lift {
            background: rgba(22, 163, 74, 0.2);
            color: var(--event-lift);
        }
        .category-acc {
            background: rgba(220, 38, 38, 0.2);
            color: var(--event-acc);
        }
        .category-general {
            background: rgba(14, 165, 233, 0.2);
            color: var(--event-general);
        }
        /* Section Contact */
        .contact-section {
            background: var(--surface);
            border-radius: 20px;
            padding: 3rem;
            margin: 2rem 0;
            border: 1px solid var(--border);
        }
        .contact-info {
            text-align: center;
            margin-bottom: 2rem;
        }
        .contact-email {
            font-size: 1.2rem;
            color: var(--highlight);
            font-weight: 600;
            margin: 1rem 0;
        }
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            font-weight: 500;
        }
        .form-input, .form-select, .form-textarea {
            width: 100%;
            padding: 1rem;
            background: var(--bg-primary);
            border: 2px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--accent);
        }
        .form-textarea {
            resize: vertical;
            min-height: 120px;
        }
        /* Footer */
        .footer {
            background: var(--bg-secondary);
            padding: 2rem;
            text-align: center;
            border-top: 1px solid var(--border);
        }
        .footer-text {
            color: var(--text-muted);
        }
        /* Responsive */
        @media (max-width: 768px) {
            .nav-menu {
                position: fixed;
                top: 118px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 118px);
                background: var(--bg-secondary);
                flex-direction: column;
                justify-content: flex-start;
                padding: 2rem;
                transition: left 0.3s ease;
                border-top: 1px solid var(--border);
            }
            .nav-menu.active {
                left: 0;
            }
            .nav-toggle {
                display: flex;
            }
            .nav-toggle.active .bar:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            .nav-toggle.active .bar:nth-child(2) {
                opacity: 0;
            }
            .nav-toggle.active .bar:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
            .section {
                padding: 3rem 1rem;
            }
            .nav-container {
                padding: 1rem;
            }
            .cards-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 100%;
                max-width: 300px;
            }
            .event {
                flex-direction: column;
                align-items: flex-start;
            }
            .event-date {
                margin-bottom: 0.5rem;
            }
            .stat {
                margin-bottom: 1rem;
            }
            .hero-title {
                white-space: normal;
            }
        }
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .animate-on-scroll {
            animation: fadeInUp 0.6s ease;
        }
        /* Scroll smooth */
        html {
            scroll-behavior: smooth;
        }
        .contact-section {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 2rem;
          margin-top: 2rem;
        }
        
        .contact-info {
          background: var(--surface);
          padding: 2rem;
          border-radius: 1rem;
          text-align: center;
        }
        
        .contact-form {
          background: var(--surface);
          padding: 2rem;
          border-radius: 1rem;
          display: flex;
          flex-direction: column;
          gap: 1rem;
        }
        
        .contact-form .form-group {
          display: flex;
          flex-direction: column;
        }
        
        .contact-form label {
          font-weight: 600;
          margin-bottom: 0.3rem;
          color: var(--text-secondary);
        }
        
        .contact-form input,
        .contact-form select,
        .contact-form textarea {
          background: var(--bg-secondary);
          border: 1px solid var(--border);
          border-radius: 0.5rem;
          padding: 0.75rem;
          color: var(--text-primary);
          font-family: 'Inter', sans-serif;
        }
        
        .contact-form input:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
          outline: none;
          border-color: var(--accent);
        }
        
        .contact-form button {
          align-self: flex-start;
          padding: 0.75rem 1.5rem;
          border-radius: 0.5rem;
          background: var(--button-primary);
          color: #fff;
          border: none;
          font-weight: 600;
          cursor: pointer;
          transition: background 0.3s ease;
        }
        
        .contact-form button:hover {
          background: var(--button-hover);
        }
        
        @media screen and (max-width: 768px) {
          .contact-section {
            grid-template-columns: 1fr;
          }
        }
        
        .video-container {
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 2rem 0;
        }
        
        .video-container iframe {
          width: 100%;
          max-width: 800px;
          aspect-ratio: 16 / 9;
          border-radius: 12px;
          border: none;
        }
        
        /* Centrage de la vidéo */
        .video-wrapper {
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 3rem auto;
          width: 100%;
        }
        
        /* Rendre la vidéo responsive et centrée */
        /* Centrage et style des vidéos YouTube intégrées */
        .video-wrapper {
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 3rem auto;
          width: 100%;
        }
        
        /* Garde le ratio et centre la vidéo */
        .video-responsive {
          position: relative;
          width: 100%;
          max-width: 800px; /* taille max pour uniformité */
          aspect-ratio: 16 / 9;
          overflow: hidden;
          border-radius: 12px;
          box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        }
        
        /* L’iframe occupe tout le conteneur */
        .video-responsive iframe {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          border: none;
          border-radius: 12px;
        }
        
        /* Logo du projet Air Cargo */
        .project-logo-container {
          display: flex;
          justify-content: center;
          align-items: center;
          margin-bottom: 1.5rem;
        }
        
        .project-logo {
          width: 300px;              /* taille réduite encore plus petite */
          height: auto;
          border-radius: 6px;
          object-fit: contain;
          display: block;
          margin: 0 auto;
          filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.1));
        }
        
        /* === Galerie de photos Drone (corrigée : largeur limitée au texte) === */

        /* === Galerie de photos Drone — version compacte === */
        .photo-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr); /* 3 colonnes fixes */
          gap: 15px;
          justify-items: center;
          align-items: start;
          margin-top: 2rem;
          width: 100%;
          max-width: 800px;  /* largeur du texte */
          margin-left: auto;
          margin-right: auto;
          box-sizing: border-box;
        }
        
        .photo-grid img {
          width: 100%;          /* s’adapte à la colonne */
          max-width: 230px;     /* âÂÂÂÂÂÂÂÂÂÂÂÂ limite la taille maximale visible */
          height: 150px;        /* âÂÂÂÂÂÂÂÂÂÂÂÂ format “carte” */
          object-fit: cover;    /* coupe proprement sans déformer */
          border-radius: 10px;
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
          transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .photo-grid img:hover {
          transform: scale(1.05);
          box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
        }
        
        /* Responsive : moins de colonnes sur petits écrans */
        @media (max-width: 900px) {
          .photo-grid {
            grid-template-columns: repeat(2, 1fr);
          }
        }
        
        @media (max-width: 600px) {
          .photo-grid {
            grid-template-columns: 1fr;
          }
          .photo-grid img {
            max-width: 100%;
            height: 140px;
          }
        }
        
                /* --- Lightbox --- */
        .lightbox {
          display: none;
          position: fixed;
          z-index: 1000;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.9);
          justify-content: center;
          align-items: center;
        }
        
        .lightbox img {
          max-width: 90%;
          max-height: 90%;
          border-radius: 10px;
          box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        }
        
        .lightbox-close {
          position: absolute;
          top: 30px;
          right: 40px;
          color: #fff;
          font-size: 40px;
          font-weight: bold;
          cursor: pointer;
          transition: 0.3s;
        }
        
        .lightbox-close:hover {
          color: #bbb;
        }
        
        /* Animation d’apparition */
        .lightbox.show {
          display: flex;
          animation: fadeIn 0.3s ease-in-out;
        }
        
        @keyframes fadeIn {
          from { opacity: 0; }
          to { opacity: 1; }
        }
        
        /* Optionnel : effet au survol sur les miniatures */
        .photo-grid img {
          cursor: pointer;
          transition: transform 0.2s ease;
        }
        
        .photo-grid img:hover {
          transform: scale(1.05);
        }

        

    </style>