/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'SF Pro Display', sans-serif;
    line-height: 1.65;
    color: #e2e8f0;
    background: #0a0f1c;
    overflow-x: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.01em;
}

/* Typographie améliorée */
h1, h2, h3, h4, h5, h6 {
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'pnum' 1;
    letter-spacing: -0.025em;
    line-height: 1.25;
    font-weight: 800;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}

p {
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    line-height: 1.7;
    max-width: 65ch;
    color: var(--text-secondary);
}

/* Espacement vertical rythmé */
.section-spacing {
    margin-bottom: calc(1.5rem + 3vw);
}

/* Amélioration des contrastes */
:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --primary-light: #33ddff;
    --secondary: #64748b;
    --accent: #7c3aed;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --background: #0a0f1c;
    --surface: #1e293b;
    --surface-light: #334155;
    --border: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transitions et animations avancées */
* {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effets de focus améliorés pour l'accessibilité */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

/* Effets de morphing pour les éléments interactifs */
.morph-on-hover {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.morph-on-hover:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.02);
}

/* Loading states et skeleton */
.loading {
    background: linear-gradient(90deg, 
        rgba(51, 65, 85, 0.3) 25%, 
        rgba(51, 65, 85, 0.5) 50%, 
        rgba(51, 65, 85, 0.3) 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Micro-interactions */
.micro-bounce:hover {
    animation: micro-bounce 0.6s ease-in-out;
}

@keyframes micro-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Glow effects avancés */
.glow-on-hover:hover {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8)); }
}

/* Styles globaux */
svg {
    display: block;
    flex-shrink: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    z-index: 100;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* Menu toggle mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav.scrolled {
    background: rgba(10, 15, 28, 0.95);
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo svg {
    width: 64px;
    height: 64px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                linear-gradient(135deg, #0a0f1c 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

/* Particules flottantes */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 212, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(124, 58, 237, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 212, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(124, 58, 237, 0.4), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(0, 212, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes float-particles {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(5px); }
    66% { transform: translateY(5px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23334155" fill-opacity="0.1"><circle cx="30" cy="30" r="1"/></g></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-weight: 500;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 14px;
    height: 14px;
    color: white;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--background);
    box-shadow: var(--shadow-glow);
}

.btn-full {
    width: 100%;
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    border-color: #22c55e !important;
}

.btn-error {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border-color: #ef4444 !important;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.notification-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-message {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.notification-close:hover {
    color: var(--text-primary);
}

.notification-success {
    border-left: 4px solid #22c55e;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-info {
    border-left: 4px solid var(--primary);
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Indicateur de progression */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Visualisation IA avec animations CSS pures */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ai-grid {
    position: relative;
    width: 400px;
    height: 400px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

.ai-node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    position: relative;
    transition: var(--transition);
    opacity: 0.6;
}

.ai-node.primary {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    opacity: 1;
    animation: ai-pulse-primary 4.8s infinite;
}

.ai-node.secondary {
    background: var(--accent);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
    opacity: 0.8;
    animation: ai-pulse-secondary 4.8s infinite;
}

.ai-node.tertiary {
    background: var(--border);
    opacity: 0.6;
    animation: ai-pulse-tertiary 7.2s infinite;
}

/* Délais d'animation pour créer un effet de vague - nœuds tertiaires avec délais variés */
.ai-node:nth-child(1) { animation-delay: 0s; }
.ai-node:nth-child(2) { animation-delay: 0.3s; }
.ai-node:nth-child(3) { animation-delay: 0.6s; }
.ai-node:nth-child(4) { animation-delay: 2.1s; }
.ai-node:nth-child(5) { animation-delay: 1.2s; }
.ai-node:nth-child(6) { animation-delay: 4.3s; }
.ai-node:nth-child(7) { animation-delay: 1.8s; }
.ai-node:nth-child(8) { animation-delay: 3.7s; }
.ai-node:nth-child(9) { animation-delay: 2.4s; }
.ai-node:nth-child(10) { animation-delay: 5.2s; }
.ai-node:nth-child(11) { animation-delay: 3.0s; }
.ai-node:nth-child(12) { animation-delay: 1.8s; }
.ai-node:nth-child(13) { animation-delay: 3.6s; }
.ai-node:nth-child(14) { animation-delay: 6.1s; }
.ai-node:nth-child(15) { animation-delay: 4.2s; }
.ai-node:nth-child(16) { animation-delay: 2.9s; }

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
    transition: var(--transition);
    animation: line-pulse 6.4s infinite;
}

.connection-line.h1 {
    top: 25%;
    left: 20%;
    right: 20%;
    height: 1px;
    animation-delay: 0.8s;
}

.connection-line.h2 {
    top: 50%;
    left: 20%;
    right: 20%;
    height: 1px;
    animation-delay: 1.6s;
}

.connection-line.h3 {
    top: 75%;
    left: 20%;
    right: 20%;
    height: 1px;
    animation-delay: 2.4s;
}

.connection-line.h4 {
    top: 37.5%;
    left: 20%;
    right: 20%;
    height: 1px;
    animation-delay: 3.2s;
}

.connection-line.v1 {
    left: 25%;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation-delay: 4.0s;
}

.connection-line.v2 {
    left: 50%;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation-delay: 4.8s;
}

.connection-line.v3 {
    left: 75%;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation-delay: 5.6s;
}

.connection-line.v4 {
    left: 37.5%;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation-delay: 0.4s;
}

.connection-line.d1 {
    top: 30%;
    left: 30%;
    width: 40%;
    height: 1px;
    transform: rotate(45deg);
    transform-origin: left center;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation-delay: 1.2s;
}

.connection-line.d2 {
    top: 70%;
    left: 30%;
    width: 40%;
    height: 1px;
    transform: rotate(-45deg);
    transform-origin: left center;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation-delay: 2.0s;
}

.connection-line.d3 {
    top: 45%;
    left: 25%;
    width: 50%;
    height: 1px;
    transform: rotate(30deg);
    transform-origin: left center;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation-delay: 2.8s;
}

.connection-line.d4 {
    top: 55%;
    left: 25%;
    width: 50%;
    height: 1px;
    transform: rotate(-30deg);
    transform-origin: left center;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation-delay: 3.6s;
}

/* Animations keyframes */
@keyframes ai-pulse-primary {
    0%, 80%, 100% { 
        transform: scale(1); 
        opacity: 1;
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    }
    40% { 
        transform: scale(1.8); 
        opacity: 1;
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.9);
    }
}

@keyframes ai-pulse-secondary {
    0%, 80%, 100% { 
        transform: scale(1); 
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
    }
    40% { 
        transform: scale(1.6); 
        opacity: 1;
        box-shadow: 0 0 25px rgba(124, 58, 237, 0.9);
    }
}

@keyframes ai-pulse-tertiary {
    0%, 85%, 100% { 
        transform: scale(1); 
        opacity: 0.6;
        background: var(--border);
        box-shadow: none;
    }
    15% { 
        transform: scale(1.4); 
        opacity: 1;
        background: #22c55e;
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    }
}

@keyframes line-pulse {
    0%, 85%, 100% { 
        opacity: 0.3; 
    }
    42% { 
        opacity: 1;
        filter: drop-shadow(0 0 5px currentColor);
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

/* Social Proof */
.social-proof {
    padding: 80px 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.social-proof-content {
    text-align: center;
}

.social-proof-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.logo-item {
    opacity: 0.7;
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.client-logo svg {
    height: 40px;
    filter: grayscale(1);
    transition: var(--transition);
}

.logo-item:hover .client-logo svg {
    filter: grayscale(0);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-item {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Section Métriques */
.metrics-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0f1c 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.metrics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.metrics-content {
    position: relative;
    z-index: 2;
}

.metrics-header {
    text-align: center;
    margin-bottom: 4rem;
}

.metrics-title {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.metrics-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.metric-card {
    background: rgba(30, 41, 59, 0.4);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-glow);
}

.metric-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Graphique visuel */
.metrics-visual {
    max-width: 600px;
    margin: 0 auto;
}

.chart-container {
    background: rgba(30, 41, 59, 0.3);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.chart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    height: 200px;
    padding: 1rem 0;
}

.chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.bar-fill {
    width: 100%;
    background: var(--gradient);
    border-radius: 4px 4px 0 0;
    transition: height 1.5s ease-out;
    margin-top: auto;
    min-height: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Test: Appliquer directement les hauteurs des barres */
.chart-bar[data-height="15"] .bar-fill { height: 15%; }
.chart-bar[data-height="28"] .bar-fill { height: 28%; }
.chart-bar[data-height="45"] .bar-fill { height: 45%; }
.chart-bar[data-height="65"] .bar-fill { height: 65%; }
.chart-bar[data-height="85"] .bar-fill { height: 85%; }

.bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.5s ease-out;
}

.bar-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.chart-note {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Process */
.process {
    padding: 100px 0;
    background: var(--background);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
    opacity: 0.8;
}

.step-content {
    position: relative;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-glow);
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    padding-right: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 212, 255, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    background: rgba(0, 212, 255, 0.05);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Décorations de section */
.section-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float-shapes 20s linear infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    bottom: 20%;
    left: 5%;
    animation-delay: 7s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    top: 60%;
    right: 20%;
    animation-delay: 14s;
}

@keyframes float-shapes {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

/* Services */
.services {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--gradient-dark);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.animate {
    animation: slideUp 0.6s ease-out;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Contact */
.contact {
    background: var(--background);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.contact-emphasis {
    color: var(--primary) !important;
    font-weight: 600;
    margin-bottom: 2.5rem !important;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-glow);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.method-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Formulaire */
.contact-form {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--background);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer .logo svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.brand-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.footer-text p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-item:nth-child(1) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-bars {
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .ai-grid {
        width: 300px;
        height: 300px;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .ai-node {
        width: 8px;
        height: 8px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-benefits {
        align-items: center;
    }
    
    .client-logos {
        gap: 2rem;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metrics-title {
        font-size: 2.5rem;
    }
    
    .metric-card {
        padding: 2rem;
    }
    
    .metric-number {
        font-size: 3rem;
    }
    
    .chart-container {
        padding: 2rem;
    }
    
    .chart-bars {
        height: 150px;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
}
