*, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Barlow', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color 0.3s, color 0.3s; }
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: #0E8CEB; border-radius: 3px; }
        .dark body  { background-color: #0E1624; color: #E8EDF5; }
        .light body { background-color: #F4F7FC; color: #0D1B2E; }
        .grad-text { background: linear-gradient(135deg, #0E8CEB 0%, #4FC3FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .grid-bg { background-image: linear-gradient(rgba(14,140,235,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(14,140,235,0.06) 1px, transparent 1px); background-size: 60px 60px; }
        .light .grid-bg { background-image: linear-gradient(rgba(14,140,235,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(14,140,235,0.09) 1px, transparent 1px); }
        .dark  .glass { background: rgba(22,36,60,0.75); border: 1px solid rgba(79,195,255,0.16); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
        .light .glass { background: rgba(255,255,255,0.8); border: 1px solid rgba(14,140,235,0.15); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 4px 24px rgba(14,140,235,0.06); }
        .glass { border-radius: 16px; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
        .glass:hover { transform: translateY(-3px); }
        .dark  .glass:hover { border-color: rgba(79,195,255,0.32); box-shadow: 0 8px 32px rgba(14,140,235,0.12); }
        .light .glass:hover { border-color: rgba(14,140,235,0.3); box-shadow: 0 8px 32px rgba(14,140,235,0.1); }
        .glass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(79,195,255,0.06) 50%, transparent 65%); background-size: 200% 100%; background-position: -200% 0; transition: background-position 0.65s ease; border-radius: inherit; pointer-events: none; z-index: 0; }
        .glass:hover::after { background-position: 220% 0; }
        .glass > * { position: relative; z-index: 1; }
        .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: linear-gradient(135deg, #0E8CEB, #0A6FC7); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 8px; border: none; cursor: pointer; transition: 0.25s cubic-bezier(0.4,0,0.2,1); text-decoration: none; position: relative; overflow: hidden; }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,140,235,0.35); }
        .btn-primary::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent); transform: skewX(-20deg); transition: left 0.55s ease; pointer-events: none; }
        .btn-primary:hover::after { left: 140%; }
        .btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: transparent; font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 8px; cursor: pointer; transition: 0.25s cubic-bezier(0.4,0,0.2,1); text-decoration: none; }
        .dark  .btn-outline { color: #4FC3FF; border: 1px solid rgba(79,195,255,0.3); }
        .light .btn-outline { color: #0A6FC7; border: 1px solid rgba(14,140,235,0.3); }
        .btn-outline:hover { background: rgba(79,195,255,0.1); border-color: #4FC3FF; }
        #navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s, border-color 0.3s; padding: 12px 0; border-bottom: 1px solid rgba(79,195,255,0.12); }
        .dark  #navbar { background: #0e1624; }
        .light #navbar { background: #f4f7fc; }
        .mobile-menu { display: none; position: fixed; inset: 0; padding: 96px 24px 28px; border-bottom: 1px solid rgba(79,195,255,0.12); overflow-y: auto; -webkit-overflow-scrolling: touch; }
        .dark  .mobile-menu { background: #0E1624; box-shadow: 0 18px 50px rgba(0,0,0,0.28); }
        .light .mobile-menu { background: #F4F7FC; box-shadow: 0 18px 50px rgba(14,140,235,0.08); }
        .mobile-menu.is-open { display: flex; flex-direction: column; gap: 8px; }
        .section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
        .hero-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; }
        .section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; }
        .divider { width: 48px; height: 3px; background: linear-gradient(90deg, #0E8CEB, #4FC3FF); border-radius: 2px; margin-bottom: 20px; }
        .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
        .reveal.visible { opacity: 1; transform: translateY(0); }
        .reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; } .reveal-d3 { transition-delay: 0.3s; }
        .reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
        .reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
        .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
        .tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.14em; font-weight: 500; margin-bottom: 20px; }
        .dark  .tag { background: rgba(14,140,235,0.1); border: 1px solid rgba(79,195,255,0.2); color: #4FC3FF; }
        .light .tag { background: rgba(14,140,235,0.07); border: 1px solid rgba(14,140,235,0.2); color: #0A6FC7; }
        .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
        .dark  .chip { background: rgba(79,195,255,0.08); border: 1px solid rgba(79,195,255,0.2); color: #4FC3FF; }
        .light .chip { background: rgba(14,140,235,0.08); border: 1px solid rgba(14,140,235,0.2); color: #0A6FC7; }
        .nav-link { font-size: 0.875rem; font-weight: 500; padding: 8px 14px; border-radius: 7px; transition: 0.2s; text-decoration: none; }
        .dark  .nav-link { color: #8899AA; }
        .dark  .nav-link:hover { color: #E8EDF5; background: rgba(79,195,255,0.07); }
        .light .nav-link { color: #4A6080; }
        .light .nav-link:hover { color: #0D1B2E; background: rgba(14,140,235,0.07); }
        .lang-btn { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; padding: 5px 10px; border-radius: 6px; transition: 0.2s; text-decoration: none; font-weight: 600; letter-spacing: 0.06em; }
        .dark  .lang-btn { color: #8899AA; }
        .dark  .lang-btn.active, .dark  .lang-btn:hover { color: #4FC3FF; background: rgba(79,195,255,0.1); }
        .light .lang-btn { color: #4A6080; }
        .light .lang-btn.active, .light .lang-btn:hover { color: #0A6FC7; background: rgba(14,140,235,0.1); }
        .theme-toggle { width: 44px; height: 24px; border-radius: 100px; cursor: pointer; position: relative; transition: background 0.3s; border: none; flex-shrink: 0; }
        .dark  .theme-toggle { background: rgba(79,195,255,0.15); border: 1px solid rgba(79,195,255,0.3); }
        .light .theme-toggle { background: rgba(14,140,235,0.15); border: 1px solid rgba(14,140,235,0.3); }
        .theme-toggle-knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #0E8CEB, #4FC3FF); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
        .light .theme-toggle-knob { transform: translateX(20px); }
        .hamburger { display: none; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; background: none; border: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; flex-shrink: 0; }
        .hamburger-line { display: block; width: 22px; height: 2px; border-radius: 2px; transition: transform 0.35s, opacity 0.25s; transform-origin: center; }
        .dark  .hamburger-line { background: #8899AA; }
        .light .hamburger-line { background: #4A6080; }
        .hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #4FC3FF; }
        .hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #4FC3FF; }
        @media (max-width: 1024px) { .hamburger { display: flex; } .desktop-nav { display: none !important; } }
        .dark  footer { background: #0A1220; border-top: 1px solid rgba(79,195,255,0.1); }
        .light footer { background: #E8EDF5; border-top: 1px solid rgba(14,140,235,0.12); }
        .footer-link { font-size: 0.875rem; transition: color 0.2s; text-decoration: none; }
        .dark  .footer-link { color: #8899AA; }
        .dark  .footer-link:hover { color: #4FC3FF; }
        .light .footer-link { color: #4A6080; }
        .light .footer-link:hover { color: #0A6FC7; }
        .social-btn { width: 38px; height: 38px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s; text-decoration: none; }
        .dark  .social-btn { background: rgba(79,195,255,0.07); border: 1px solid rgba(79,195,255,0.15); color: #8899AA; }
        .dark  .social-btn:hover { color: #4FC3FF; border-color: rgba(79,195,255,0.35); background: rgba(79,195,255,0.12); }
        .light .social-btn { background: rgba(14,140,235,0.06); border: 1px solid rgba(14,140,235,0.15); color: #4A6080; }
        .light .social-btn:hover { color: #0A6FC7; border-color: rgba(14,140,235,0.35); background: rgba(14,140,235,0.1); }
        .tech-card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; margin-bottom: 20px; }
        .dark  .tech-card-icon { background: rgba(14,140,235,0.12); border: 1px solid rgba(79,195,255,0.2); color: #4FC3FF; }
        .light .tech-card-icon { background: rgba(14,140,235,0.08); border: 1px solid rgba(14,140,235,0.2); color: #0A6FC7; }
        .scan-line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(79,195,255,0.4), transparent); animation: scan 6s linear infinite; pointer-events: none; }
        @keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100vh); } }
        .glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
        .dark  .cta-section { background: linear-gradient(135deg, rgba(14,140,235,0.12) 0%, rgba(7,12,21,0) 60%); border-top: 1px solid rgba(79,195,255,0.1); border-bottom: 1px solid rgba(79,195,255,0.1); }
        .light .cta-section { background: linear-gradient(135deg, rgba(14,140,235,0.06) 0%, rgba(244,247,252,0) 60%); border-top: 1px solid rgba(14,140,235,0.12); border-bottom: 1px solid rgba(14,140,235,0.12); }
        .sub-accent { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 0 2px 2px 0; }
        /* Timeline */
        .timeline-line { position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, #0E8CEB, rgba(79,195,255,0.1)); }
        .timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: #0E8CEB; border: 2px solid #4FC3FF; box-shadow: 0 0 12px rgba(14,140,235,0.5); flex-shrink: 0; margin-top: 5px; }
        /* Logo ring */
        .logo-ring { position: absolute; inset: -5px; border-radius: 15px; border: 1.5px solid rgba(79,195,255,0.4); animation: ring-pulse 2.8s ease-in-out infinite; pointer-events: none; }
        @keyframes ring-pulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0; transform: scale(1.45); } }
        body.menu-open { overflow: hidden; }
        @media (max-width: 640px) { .hero-title { font-size: clamp(2.6rem, 11vw, 3.5rem); } .section { padding: 56px 0; } .btn-primary, .btn-outline { font-size: 0.88rem; padding: 11px 20px; } }

/* --- Hero Banner Image --- */
.hero-banner-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(79,195,255,0.18);
    background: rgba(10,18,32,0.72);
    box-shadow: 0 18px 50px rgba(6,17,31,0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Overlay thème pour fondre l'image dans le design */
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
}
.dark  .hero-banner-overlay {
    background: linear-gradient(
        135deg,
        rgba(14,22,36,0.35) 0%,
        transparent 55%,
        rgba(14,140,235,0.15) 100%
    );
}
.light .hero-banner-overlay {
    background: linear-gradient(
        135deg,
        rgba(244,247,252,0.25) 0%,
        transparent 55%,
        rgba(14,140,235,0.10) 100%
    );
}

/* Décoration coin bas-gauche (repère tech) */
.hero-banner-corner {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-left: 2px solid rgba(79,195,255,0.5);
    border-bottom: 2px solid rgba(79,195,255,0.5);
    border-radius: 0 0 0 8px;
    z-index: 2;
    pointer-events: none;
}

/* Responsive : image sous le texte sur mobile */
@media (max-width: 1024px) {
    .hero-banner-frame {
        aspect-ratio: 16/7;
        margin-top: 40px;
    }
}
