:root {
    --color-bg: #0a0a0f;
    --color-surface: #141420;
    --color-surface-light: #1a1a2e;
    --color-primary: #6366f1;
    --color-primary-hover: #5558e3;
    --color-secondary: #14b8a6;
    --color-secondary-hover: #10a695;
    --color-text: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-text-dark: #6b7280;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-glass: rgba(255, 255, 255, 0.05);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --nav-height: 70px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    /* Adaptation à l'écran : espacements fluides */
    --container-padding: clamp(1rem, 5vw, 2rem);
    --section-padding-y: clamp(2.5rem, 6vw, 5rem);
}

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

/* ===== ADAPTATION À L'ÉCRAN ===== */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}

/* Conteneurs : largeur max 100% et padding fluide */
.container,
.services-container,
[class*="container"] {
    width: 100%;
    max-width: 100%;
}


/* Images et médias : ne débordent jamais */
img,
video,
svg {
    max-width: 100%;
    height: auto;
}

img {
    object-fit: contain;
}

/* Éléments à largeur fluide */
table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* Adaptation selon la largeur d'écran */
@media (min-width: 1400px) {
    :root {
        --max-width: 1400px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-padding: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: clamp(0.75rem, 4vw, 1.25rem);
        --spacing-md: 1.25rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3.5rem;
    }
}

/* ===== ANIMATIONS GLOBALES DES ICÔNES ===== */

/* Animation du logo dans la navbar */
.nav-brand img.nav-logo,
.nav-brand svg {
    height: 230px;
    width: auto;
    max-height: 230px;
    object-fit: contain;
    transition: all 0.4s ease;
}

@keyframes logo-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nav-brand:hover img.nav-logo,
.nav-brand:hover svg {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.5));
}

/* Animation des icônes dans l'ecosystem (hero) */
.ecosystem-card .card-icon svg {
    animation: ecosystem-icon-pulse 4s ease-in-out infinite;
}

@keyframes ecosystem-icon-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 6px 18px rgba(99, 102, 241, 0.5));
    }
}

.card-top-left .card-icon svg {
    animation-delay: 0s;
}

.card-top-right .card-icon svg {
    animation-delay: 1s;
}

.card-bottom-left .card-icon svg {
    animation-delay: 2s;
}

.card-bottom-right .card-icon svg {
    animation-delay: 3s;
}

.ecosystem-card:hover .card-icon svg {
    animation-play-state: paused;
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 8px 24px rgba(99, 102, 241, 0.7));
}

/* Animation des stats cards */
.stat-card {
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.stat-card:hover::before {
    opacity: 1;
    animation: stat-pulse 1.5s ease-in-out infinite;
}

@keyframes stat-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Animation du flow process */
.flow-step-icon {
    animation: flow-icon-float 4s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flow-icon-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.flow-step:hover .flow-step-icon {
    transform: scale(1.15) rotate(-5deg);
    animation-play-state: paused;
}

.flow-step:nth-child(1) .flow-step-icon {
    animation-delay: 0s;
}

.flow-step:nth-child(2) .flow-step-icon {
    animation-delay: 1s;
}

.flow-step:nth-child(3) .flow-step-icon {
    animation-delay: 2s;
}

.flow-step:nth-child(4) .flow-step-icon {
    animation-delay: 3s;
}

.flow-step:hover .flow-step-icon svg {
    filter: drop-shadow(0 8px 20px rgba(99, 102, 241, 0.4));
}

/* Animation des images founders */
.founder-image {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.founder-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.founder-image:hover::before {
    opacity: 1;
}

.founder-image img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-image:hover img {
    transform: scale(1.08) rotate(2deg);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-text);
}

/* Language switcher FR/EN */
.lang-switcher-wrap {
    display: flex;
    align-items: center;
}
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.lang-switcher .lang-btn {
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.lang-switcher .lang-btn:hover {
    color: var(--color-text);
}
.lang-switcher .lang-btn.active,
.lang-switcher .lang-btn[aria-pressed="true"] {
    color: white;
    background: var(--color-primary);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, rgba(20, 20, 32, 0.98), rgba(20, 20, 32, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    color: var(--color-text);
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
    padding-left: 2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: var(--color-surface-light);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-surface);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-text:hover {
    gap: 0.75rem;
    color: var(--color-secondary);
}

/* Hero */
.hero {
    padding: calc(var(--nav-height) + var(--spacing-xl)) 0 var(--spacing-xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.benefit-chip {
    padding: 0.5rem 1rem;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Mockup */
.mockup {
    perspective: 1000px;
}

/* AI Ecosystem Visualization */
.ai-ecosystem {
    position: relative;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.ecosystem-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
}

/* AI Core */
.ai-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.core-center {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.core-center svg {
    color: var(--color-primary);
}

.core-label {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

/* Ecosystem Cards */
.ecosystem-card {
    position: absolute;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(20, 20, 32, 0.95), rgba(20, 20, 32, 0.85));
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
}

.ecosystem-card:hover {
    transform: scale(1.08) translateZ(20px);
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.4);
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.05));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ecosystem-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.card-icon svg {
    color: var(--color-secondary);
    filter: drop-shadow(0 2px 8px rgba(20, 184, 166, 0.3));
    transition: all 0.3s ease;
}

.ecosystem-card:hover .card-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(20, 184, 166, 0.5));
}

.card-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
}

/* Card Positions */
.card-top-left {
    top: 8%;
    left: 8%;
}

.card-top-right {
    top: 8%;
    right: 8%;
}

.card-bottom-left {
    bottom: 8%;
    left: 8%;
}

.card-bottom-right {
    bottom: 8%;
    right: 8%;
}

/* Service Preview Panel - Right Side */
.service-preview-panel {
    position: absolute;
    top: 50%;
    right: -450px;
    transform: translateY(-50%);
    width: 420px;
    height: 500px;
    background: linear-gradient(135deg, rgba(237, 240, 255, 0.94), rgba(232, 236, 255, 0.94));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(40px);
    box-shadow: 
        0 30px 80px rgba(99, 102, 241, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.1) inset;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 150ms ease-out, transform 150ms ease-out, right 150ms ease-out, visibility 0s linear 150ms;
    opacity: 0;
    visibility: hidden;
}

.service-preview-panel.active {
    right: -80px;
    opacity: 1;
    visibility: visible;
    /* pointer-events: none toujours - évite flickering quand pop-up chevauche Devis/Pilotage */
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 30px 80px rgba(99, 102, 241, 0.2),
        0 0 0 1px rgba(99, 102, 241, 0.25) inset,
        0 0 60px rgba(99, 102, 241, 0.25);
}

.preview-panel-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    animation: preview-glow-pulse 4s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes preview-glow-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.preview-panel-content {
    position: relative;
    height: 100%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 1;
}

.preview-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(99, 102, 241, 0.8);
}

.preview-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e1e3a, #2d2d4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 2.1rem;
}

.service-preview-panel.active .preview-title {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preview-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 200px;
}

.preview-visual > div {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 150ms ease-out, transform 150ms ease-out;
}

.preview-visual > div.active-visual {
    opacity: 1;
    transform: scale(1);
}

/* Default Orb */
.visual-default .preview-orb {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: orb-rotate 20s linear infinite;
}

.orb-ring:nth-child(2) {
    inset: 20px;
    border-color: rgba(20, 184, 166, 0.2);
    animation-duration: 30s;
    animation-direction: reverse;
}

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

.orb-core {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(20, 184, 166, 0.2));
    border-radius: 50%;
    box-shadow: 
        0 0 60px rgba(99, 102, 241, 0.4),
        0 0 120px rgba(99, 102, 241, 0.2) inset;
    animation: orb-pulse 3s ease-in-out infinite;
}

@keyframes orb-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(99, 102, 241, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 80px rgba(99, 102, 241, 0.6); }
}

/* Prospection: Network Graph */
.visual-prospection {
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-visual {
    width: 100%;
    height: 100%;
}

.network-line {
    stroke: rgba(99, 102, 241, 0.3);
    stroke-width: 2;
    animation: line-pulse 2s ease-in-out infinite;
}

.network-line:nth-child(2) { animation-delay: 0.2s; }
.network-line:nth-child(3) { animation-delay: 0.4s; }
.network-line:nth-child(4) { animation-delay: 0.6s; }
.network-line:nth-child(5) { animation-delay: 0.8s; }

@keyframes line-pulse {
    0%, 100% { 
        stroke: rgba(99, 102, 241, 0.3);
        stroke-width: 2;
    }
    50% { 
        stroke: rgba(99, 102, 241, 0.8);
        stroke-width: 3;
    }
}

.network-node {
    fill: url(#nodeGrad);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
    animation: node-pulse 2s ease-in-out infinite;
}

.node-center {
    animation: node-pulse-center 2s ease-in-out infinite;
}

.node-1 { animation-delay: 0.2s; }
.node-2 { animation-delay: 0.4s; }
.node-3 { animation-delay: 0.6s; }

@keyframes node-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
    }
    50% { 
        transform: scale(1.3);
        filter: drop-shadow(0 0 16px rgba(99, 102, 241, 1));
    }
}

@keyframes node-pulse-center {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.8));
    }
    50% { 
        transform: scale(1.2);
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 1));
    }
}

/* Devis: Document Stack */
.visual-devis {
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-stack {
    position: relative;
    width: 140px;
    height: 180px;
}

.document {
    position: absolute;
    width: 100px;
    height: 130px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(20, 184, 166, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.doc-lines {
    margin: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-lines::before,
.doc-lines::after {
    content: '';
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.doc-1 {
    left: 0;
    top: 0;
    animation: doc-float-1 3s ease-in-out infinite;
}

.doc-2 {
    left: 20px;
    top: 20px;
    animation: doc-float-2 3s ease-in-out infinite;
}

.doc-3 {
    left: 40px;
    top: 40px;
    animation: doc-float-3 3s ease-in-out infinite;
}

@keyframes doc-float-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes doc-float-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes doc-float-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-1deg); }
}

.currency-symbol {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: currency-pulse 2s ease-in-out infinite;
}

@keyframes currency-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    }
    50% { 
        transform: scale(1.15);
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
    }
}

/* Support: Chat Bubbles */
.visual-support {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.chat-bubble {
    position: absolute;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(20, 184, 166, 0.15));
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.bubble-1 {
    left: 0;
    top: 0;
    width: 80px;
    height: 50px;
    animation: bubble-float-1 3s ease-in-out infinite;
}

.bubble-2 {
    right: 0;
    top: 50px;
    width: 70px;
    height: 45px;
    animation: bubble-float-2 3s ease-in-out infinite 0.5s;
}

.bubble-3 {
    left: 10px;
    bottom: 20px;
    width: 75px;
    height: 48px;
    animation: bubble-float-3 3s ease-in-out infinite 1s;
}

@keyframes bubble-float-1 {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }
}

@keyframes bubble-float-2 {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-8px) scale(1.05);
        opacity: 1;
    }
}

@keyframes bubble-float-3 {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-12px) scale(1.05);
        opacity: 1;
    }
}

.bubble-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.bubble-dots span {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: dot-bounce 1.4s ease-in-out infinite;
}

.bubble-dots span:nth-child(2) { animation-delay: 0.2s; }
.bubble-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.bubble-check {
    font-size: 1.5rem;
    color: var(--color-secondary);
    text-align: center;
    animation: check-pop 2s ease-in-out infinite;
}

@keyframes check-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Pilotage: Dashboard Metrics */
.visual-pilotage {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 85px);
    grid-template-rows: repeat(2, 85px);
    gap: 10px;
}

.metric-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    animation: progress-slide 2s ease-in-out infinite;
}

@keyframes progress-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.metric-bar {
    width: 100%;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.bar-1 {
    height: 40%;
    animation: bar-grow-1 2s ease-in-out infinite;
}

.bar-2 {
    height: 70%;
    animation: bar-grow-2 2s ease-in-out infinite 0.3s;
}

.bar-3 {
    height: 55%;
    animation: bar-grow-3 2s ease-in-out infinite 0.6s;
}

@keyframes bar-grow-1 {
    0%, 100% { height: 40%; }
    50% { height: 60%; }
}

@keyframes bar-grow-2 {
    0%, 100% { height: 70%; }
    50% { height: 85%; }
}

@keyframes bar-grow-3 {
    0%, 100% { height: 55%; }
    50% { height: 70%; }
}

.metric-line {
    width: 100%;
    height: 2px;
    background: var(--color-secondary);
    position: relative;
    animation: line-draw 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.6);
}

@keyframes line-draw {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.preview-description {
    font-size: 1rem;
    color: rgba(45, 45, 65, 0.75);
    line-height: 1.6;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 1.6rem;
}

.service-preview-panel.active .preview-description {
    color: rgba(30, 30, 50, 0.9);
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    font-size: 0.875rem;
    color: rgba(45, 45, 65, 0.85);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: feature-slide-in 0.5s ease-out forwards;
}

@keyframes feature-slide-in {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

.feature-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateX(4px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1rem;
}

/* Remove old popup styles */
.service-popup {
    display: none;
}

/* Global Tooltip/Popup System - White Theme */
.has-tooltip {
    position: relative;
    cursor: help;
}

.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.tooltip-trigger:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.tooltip-white {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: max-content;
    max-width: 320px;
    background: rgba(237, 240, 255, 0.94);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 12px 40px rgba(99, 102, 241, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.12) inset;
}

.tooltip-white::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(237, 240, 255, 0.94);
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.08));
}

.has-tooltip:hover .tooltip-white {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip-white p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(45, 45, 65, 0.8);
}

.tooltip-white strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(30, 30, 50, 0.92);
    margin-bottom: 0.5rem;
}

/* Info Badge with Tooltip */
.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    font-size: 0.875rem;
    color: rgba(30, 30, 40, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.info-badge:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.info-badge .tooltip-white {
    bottom: calc(100% + 8px);
    left: 0;
    transform: translateY(-8px);
}

.info-badge:hover .tooltip-white {
    transform: translateY(0);
}

/* Tooltip adjustments for specific elements */
.service-card .tooltip-white,
.stat-card .tooltip-white {
    max-width: 280px;
}

.service-card:hover .tooltip-white,
.stat-card:hover .tooltip-white {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.stat-item .tooltip-white {
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    max-width: 260px;
}

.stat-item:hover .tooltip-white {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.founder-stats .stat-item {
    position: relative;
    cursor: help;
}

/* Tooltip arrow positioning fixes */
.stat-item .tooltip-white::before {
    left: 50%;
    transform: translateX(-50%);
}

/* Better readability on white tooltips */
.tooltip-white ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.tooltip-white li {
    margin: 0.25rem 0;
    color: rgba(30, 30, 40, 0.8);
}

/* Animated Connections */
.ecosystem-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw-path 4s ease-in-out infinite;
}

.path-1 { animation-delay: 0s; }
.path-2 { animation-delay: 1s; }
.path-3 { animation-delay: 2s; }
.path-4 { animation-delay: 3s; }

@keyframes draw-path {
    0%, 100% { 
        stroke-dashoffset: 300;
        opacity: 0.3;
    }
    40%, 60% { 
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.data-particle {
    filter: drop-shadow(0 0 6px currentColor);
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(20, 184, 166, 0.15));
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
    animation: float 3s ease-in-out infinite;
}

.hub-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-icon svg {
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.6));
}

.central-hub span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.service-node {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(20, 20, 32, 0.8), rgba(20, 20, 32, 0.6));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.service-node:hover {
    transform: scale(1.1);
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.node-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.node-content svg {
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}

.service-node:hover .node-content svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.6));
}

.node-content span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.node-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Position nodes in a circle */
.node-1 {
    top: 20%;
    left: 15%;
    animation: float 4s ease-in-out infinite;
}

.node-2 {
    top: 20%;
    right: 15%;
    animation: float 4s ease-in-out infinite 0.5s;
}

.node-3 {
    bottom: 20%;
    left: 15%;
    animation: float 4s ease-in-out infinite 1s;
}

.node-4 {
    bottom: 20%;
    right: 15%;
    animation: float 4s ease-in-out infinite 1.5s;
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw-line 3s ease-in-out infinite;
}

.line-1 {
    animation-delay: 0s;
}

.line-2 {
    animation-delay: 0.75s;
}

.line-3 {
    animation-delay: 1.5s;
}

.line-4 {
    animation-delay: 2.25s;
}

@keyframes draw-line {
    0%, 100% {
        stroke-dashoffset: 500;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.mockup-window {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mockup-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
}

.mockup-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    flex: 1;
}

.node-icon {
    font-size: 1.5rem;
}

.flow-node span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.flow-arrow {
    color: var(--color-primary);
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Quick Navigation */
.quick-nav {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--color-border);
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(20, 20, 32, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-nav-item:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.quick-nav-item:hover::before {
    opacity: 1;
}

.quick-nav-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.1));
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.quick-nav-item:hover .quick-nav-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(20, 184, 166, 0.15));
}

.quick-nav-label {
    position: relative;
    z-index: 1;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    transition: color 0.3s ease;
}

.quick-nav-item:hover .quick-nav-label {
    color: var(--color-primary);
}

/* Social Proof */
.social-proof {
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.social-proof-label {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    opacity: 1;
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.5rem;
    filter: grayscale(1);
}

.logo-real {
    padding: 0.75rem;
}

.logo-real img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(0.9);
    transition: all 0.4s ease;
}

.logo-real:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.1);
}

/* Section */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

/* Piliers - Premium Version with Clickable Cards */
/* Piliers - Minimal Modern Design */
.piliers {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.piliers h2, .piliers h3 {
    letter-spacing: -0.02em;
}

.piliers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Ultra Minimalist Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    min-height: 300px;
}

.service-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.02);
    transform: translateY(-4px);
}

.service-icon {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100px;
    height: 100px;
    color: var(--color-primary);
    stroke-width: 1.5;
    filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.25));
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 30px rgba(99, 102, 241, 0.4));
}

.service-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    margin: 0;
}

/* New White Services Grid */
/* Section Piliers avec effet de fond animé */
.piliers {
    position: relative;
    overflow: hidden;
}

.piliers::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    animation: bg-flow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bg-flow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(5%, 5%) rotate(5deg);
    }
    66% {
        transform: translate(-5%, -5%) rotate(-5deg);
    }
}

.piliers .container {
    position: relative;
    z-index: 1;
}

.piliers::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05), transparent 70%);
    animation: section-pulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes section-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

/* Services Wrapper avec lignes de connexion */
.services-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Particules flottantes dans la section */
.floating-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

.particle-1 {
    top: 10%;
    left: 15%;
    animation: particle-drift-1 8s ease-in-out infinite;
}

.particle-2 {
    top: 30%;
    right: 20%;
    animation: particle-drift-2 10s ease-in-out infinite;
}

.particle-3 {
    bottom: 25%;
    left: 25%;
    animation: particle-drift-3 12s ease-in-out infinite;
}

.particle-4 {
    top: 50%;
    right: 15%;
    animation: particle-drift-4 9s ease-in-out infinite;
}

.particle-5 {
    bottom: 15%;
    right: 30%;
    animation: particle-drift-5 11s ease-in-out infinite;
}

.particle-6 {
    top: 70%;
    left: 40%;
    animation: particle-drift-6 13s ease-in-out infinite;
}

@keyframes particle-drift-1 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    50% {
        transform: translate(50px, -80px);
        opacity: 0.8;
    }
    90% { opacity: 0.4; }
    100% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

@keyframes particle-drift-2 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% { opacity: 0.5; }
    50% {
        transform: translate(-60px, 70px);
        opacity: 0.7;
    }
    90% { opacity: 0.3; }
}

@keyframes particle-drift-3 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% { opacity: 0.7; }
    50% {
        transform: translate(40px, -60px);
        opacity: 0.9;
    }
    90% { opacity: 0.4; }
}

@keyframes particle-drift-4 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    50% {
        transform: translate(-50px, -50px);
        opacity: 0.8;
    }
    90% { opacity: 0.3; }
}

@keyframes particle-drift-5 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% { opacity: 0.5; }
    50% {
        transform: translate(70px, -40px);
        opacity: 0.7;
    }
    90% { opacity: 0.4; }
}

@keyframes particle-drift-6 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    50% {
        transform: translate(-45px, 65px);
        opacity: 1;
    }
    90% { opacity: 0.5; }
}

.services-connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-line 3s ease-out forwards;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.line-1 { animation-delay: 0.5s; }
.line-2 { animation-delay: 0.7s; }
.line-3 { animation-delay: 0.9s; }
.line-4 { animation-delay: 1.1s; }
.line-5 { animation-delay: 1.3s; }
.line-6 { animation-delay: 1.5s; }

/* Pulse animation sur les lignes */
@keyframes line-pulse {
    0%, 100% {
        opacity: 0.3;
        stroke-width: 1.5;
    }
    50% {
        opacity: 0.6;
        stroke-width: 2.5;
    }
}

.connection-line {
    animation: draw-line 3s ease-out forwards, line-pulse 4s ease-in-out infinite;
}

.line-1 { animation-delay: 0.5s, 2s; }
.line-2 { animation-delay: 0.7s, 2.5s; }
.line-3 { animation-delay: 0.9s, 3s; }
.line-4 { animation-delay: 1.1s, 3.5s; }
.line-5 { animation-delay: 1.3s, 4s; }
.line-6 { animation-delay: 1.5s, 4.5s; }

/* Points lumineux qui voyagent sur les lignes */
.data-point {
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.8));
    animation: point-glow 2s ease-in-out infinite;
}

@keyframes point-glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.point-1 {
    animation-delay: 0s;
}

.point-2 {
    animation-delay: 0.5s;
}

.point-3 {
    animation-delay: 1s;
}

.point-4 {
    animation-delay: 1.5s;
}

.services-grid-white {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.service-card-white {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(237, 240, 255, 0.92), rgba(232, 236, 255, 0.92));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(99, 102, 241, 0.08),
        0 0 0 1px rgba(99, 102, 241, 0.08) inset;
    animation: service-card-float 6s ease-in-out infinite;
}

.service-card-white::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.service-card-glow {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    animation: service-glow-pulse 3s ease-in-out infinite;
}

@keyframes service-glow-pulse {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.35;
    }
}

.service-card-white .service-card-glow {
    opacity: 0.25;
}

.service-card-white:hover .service-card-glow {
    opacity: 0.5;
}

.service-card-white:hover {
    transform: translateY(-12px) scale(1.03) rotateY(2deg);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 16px 48px rgba(99, 102, 241, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.2) inset,
        0 0 40px rgba(99, 102, 241, 0.15);
    animation-play-state: paused;
}

.service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.375rem 0.875rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(99, 102, 241, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        background: rgba(99, 102, 241, 0.08);
        border-color: rgba(99, 102, 241, 0.2);
        box-shadow: 0 0 0 rgba(99, 102, 241, 0);
    }
    50% {
        background: rgba(99, 102, 241, 0.12);
        border-color: rgba(99, 102, 241, 0.3);
        box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
    }
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: rgba(99, 102, 241, 1);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.service-card-white:hover .service-badge {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateX(4px) scale(1.05);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    animation-play-state: paused;
}

.service-icon-white {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-icon-white svg {
    width: 48px;
    height: 48px;
    color: rgba(99, 102, 241, 1);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.2));
    transition: all 0.4s ease;
}

.service-card-white:hover .service-icon-white {
    transform: scale(1.05);
}

.service-title-white {
    font-size: 1.375rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e1e3a, #2d2d4a, #1e1e3a);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    margin: 0;
    transition: all 0.3s ease;
    animation: title-gradient-shift 8s ease-in-out infinite;
}

@keyframes title-gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.service-card-white:hover .service-title-white {
    background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1), rgba(99, 102, 241, 1));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(6px) scale(1.02);
    animation: title-gradient-shift 2s ease-in-out infinite;
}

.service-description-white {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(45, 45, 65, 0.75);
    margin: 0;
    transition: all 0.3s ease;
    animation: description-fade-in 1s ease-out backwards;
}

@keyframes description-fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-white:nth-child(1) .service-description-white { animation-delay: 0.3s; }
.service-card-white:nth-child(2) .service-description-white { animation-delay: 0.5s; }
.service-card-white:nth-child(3) .service-description-white { animation-delay: 0.7s; }
.service-card-white:nth-child(4) .service-description-white { animation-delay: 0.9s; }

.service-card-white:hover .service-description-white {
    color: rgba(30, 30, 50, 0.9);
}

.service-features-white {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(45, 45, 65, 0.8);
    transition: all 0.3s ease;
}

.service-card-white:hover .feature-tag {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.4);
    color: rgba(30, 30, 50, 0.95);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Stagger l'animation des tags au hover */
.service-card-white:hover .feature-tag:nth-child(1) {
    transition-delay: 0s;
}

.service-card-white:hover .feature-tag:nth-child(2) {
    transition-delay: 0.05s;
}

.service-card-white:hover .feature-tag:nth-child(3) {
    transition-delay: 0.1s;
}

.service-card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    50% {
        transform: translateX(3px) scale(1.05);
    }
}

.service-card-arrow svg {
    color: rgba(99, 102, 241, 1);
    transition: all 0.3s ease;
    animation: arrow-bounce 2s ease-in-out infinite;
}

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

.service-card-white:hover .service-card-arrow {
    opacity: 1;
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.service-card-white:hover .service-card-arrow svg {
    transform: translateX(2px);
}

/* Animation d'entrée pour les services */
@keyframes service-card-enter {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-card-white {
    animation: service-card-enter 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.service-card-white:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card-white:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card-white:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card-white:nth-child(4) {
    animation-delay: 0.4s;
}

/* Floating animation pour les cartes */
@keyframes service-card-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.service-card-white:nth-child(1) {
    animation: service-card-float 6s ease-in-out infinite, service-card-enter 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    animation-delay: 0s, 0.1s;
}

.service-card-white:nth-child(2) {
    animation: service-card-float 6s ease-in-out infinite, service-card-enter 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    animation-delay: 0.5s, 0.2s;
}

.service-card-white:nth-child(3) {
    animation: service-card-float 6s ease-in-out infinite, service-card-enter 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    animation-delay: 1s, 0.3s;
}

.service-card-white:nth-child(4) {
    animation: service-card-float 6s ease-in-out infinite, service-card-enter 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    animation-delay: 1.5s, 0.4s;
}

/* Animation de rotation subtile pour les icônes */
@keyframes icon-rotate-subtle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-3deg) scale(1.02);
    }
    75% {
        transform: rotate(3deg) scale(1.02);
    }
}

.service-icon-white {
    animation: icon-rotate-subtle 8s ease-in-out infinite;
}

/* Pulse pour le badge dot */
@keyframes badge-pulse-continuous {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0);
    }
}

.badge-dot {
    animation: badge-pulse-continuous 2s ease-in-out infinite;
}

/* Shimmer effect sur les cartes - Amélioré */
@keyframes card-shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.service-card-white::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(99, 102, 241, 0.08) 50%,
        rgba(139, 92, 246, 0.08) 55%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: card-shimmer 10s ease-in-out infinite;
    pointer-events: none;
    border-radius: 20px;
    z-index: 1;
}

.service-card-white:nth-child(1)::after {
    animation-delay: 0s;
}

.service-card-white:nth-child(2)::after {
    animation-delay: 2.5s;
}

.service-card-white:nth-child(3)::after {
    animation-delay: 5s;
}

.service-card-white:nth-child(4)::after {
    animation-delay: 7.5s;
}

.service-card-white:hover::after {
    animation-play-state: paused;
}

/* Particles flottantes dans les cartes */
.service-card-white::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    animation: particle-float 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(-30px, 40px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translate(20px, -30px) scale(0.9);
        opacity: 0.4;
    }
}

/* Animation des tags au chargement */
@keyframes tag-pop-in {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.feature-tag {
    animation: tag-pop-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.service-card-white:nth-child(1) .feature-tag:nth-child(1) { animation-delay: 0.5s; }
.service-card-white:nth-child(1) .feature-tag:nth-child(2) { animation-delay: 0.6s; }
.service-card-white:nth-child(1) .feature-tag:nth-child(3) { animation-delay: 0.7s; }

.service-card-white:nth-child(2) .feature-tag:nth-child(1) { animation-delay: 0.7s; }
.service-card-white:nth-child(2) .feature-tag:nth-child(2) { animation-delay: 0.8s; }
.service-card-white:nth-child(2) .feature-tag:nth-child(3) { animation-delay: 0.9s; }

.service-card-white:nth-child(3) .feature-tag:nth-child(1) { animation-delay: 0.9s; }
.service-card-white:nth-child(3) .feature-tag:nth-child(2) { animation-delay: 1s; }
.service-card-white:nth-child(3) .feature-tag:nth-child(3) { animation-delay: 1.1s; }

.service-card-white:nth-child(4) .feature-tag:nth-child(1) { animation-delay: 1.1s; }
.service-card-white:nth-child(4) .feature-tag:nth-child(2) { animation-delay: 1.2s; }
.service-card-white:nth-child(4) .feature-tag:nth-child(3) { animation-delay: 1.3s; }

/* Glow animation sur l'icône SVG */
.service-icon-white svg {
    animation: icon-glow 3s ease-in-out infinite;
}

@keyframes icon-glow {
    0%, 100% {
        filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.2));
    }
    50% {
        filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.4));
    }
}

/* Border glow animation */
@keyframes border-glow {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(99, 102, 241, 0.08),
            0 0 0 1px rgba(99, 102, 241, 0.08) inset,
            0 0 20px rgba(99, 102, 241, 0);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(99, 102, 241, 0.12),
            0 0 0 1px rgba(99, 102, 241, 0.15) inset,
            0 0 30px rgba(99, 102, 241, 0.1);
    }
}

.service-card-white {
    animation: service-card-float 6s ease-in-out infinite, border-glow 4s ease-in-out infinite;
}

/* ===== IMAGES COMME ICÔNES DE SERVICES ===== */

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: icon-float 4s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

.service-card-white:hover .service-icon-img {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(99, 102, 241, 0.4));
}

/* Anciennes illustrations SVG désactivées - remplacées par des images */

.pilier-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(20, 20, 32, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    overflow: hidden;
}

.pilier-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.pilier-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: rgba(10, 10, 15, 0.95);
    z-index: 0;
}

.pilier-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(99, 102, 241, 0.1),
                0 0 80px rgba(99, 102, 241, 0.15);
}

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

/* Card overlay link */
.card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    border-radius: 24px;
}

/* Icon */
.pilier-icon-wrapper {
    position: relative;
    z-index: 1;
}

.pilier-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pilier-icon-1 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.1));
    color: #6366f1;
}

.pilier-icon-2 {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(99, 102, 241, 0.1));
    color: #14b8a6;
}

.pilier-icon-3 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: #8b5cf6;
}

.pilier-icon-4 {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(16, 185, 129, 0.1));
    color: #10b981;
}

.pilier-card:hover .pilier-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

/* Tag */
.pilier-tag {
    position: relative;
    z-index: 1;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* Title */
.pilier-title {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0;
}

/* Description */
.pilier-description {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    opacity: 0.9;
    margin: 0;
}

/* Metric */
.pilier-metric {
    position: relative;
    z-index: 1;
    display: inline-flex;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    width: fit-content;
    transition: all 0.3s ease;
}

.pilier-card:hover .pilier-metric {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(20, 184, 166, 0.15));
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

/* CTA */
.pilier-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.pilier-cta svg {
    transition: transform 0.3s ease;
}

.pilier-card:hover .pilier-cta {
    color: var(--color-primary);
    gap: 12px;
}

.pilier-card:hover .pilier-cta svg {
    transform: translateX(4px);
}

/* Reveal animations */
.pilier-card-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pilier-card-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.piliers-header-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.piliers-header-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .piliers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .pilier-card {
        padding: 32px 24px;
        gap: 16px;
    }
    
    .pilier-icon {
        width: 56px;
        height: 56px;
    }
    
    .pilier-title {
        font-size: 1.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 3rem 1.5rem;
        min-height: 260px;
    }

    .service-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }

    .service-icon svg {
        width: 80px;
        height: 80px;
    }

    .service-title {
        font-size: 1.125rem;
    }

    /* White Services Grid Responsive */
    .services-grid-white {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card-white {
        padding: 1.5rem;
    }

    .service-icon-white {
        width: 64px;
        height: 64px;
    }

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

    .service-title-white {
        font-size: 1.125rem;
    }

    .service-description-white {
        font-size: 0.875rem;
    }

    .feature-tag {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.625rem;
    }

    .service-card-arrow {
        width: 36px;
        height: 36px;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .service-card-arrow svg {
        width: 18px;
        height: 18px;
    }

    /* Masquer les lignes de connexion sur mobile */
    .services-connection-lines {
        display: none;
    }

    /* Réduire les animations sur mobile pour performance */
    .service-card-white {
        animation: service-card-enter 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    }

    .service-icon-white {
        animation: none;
    }

    .service-badge {
        animation: badge-glow 3s ease-in-out infinite;
    }

    .badge-dot {
        animation: badge-pulse-continuous 2s ease-in-out infinite;
    }

    /* Masquer les particules sur mobile */
    .floating-particles {
        display: none;
    }

    /* Simplifier le shimmer sur mobile */
    .service-card-white::after {
        animation-duration: 6s;
    }

    /* Réduire la taille des icônes sur mobile */
    .service-icon-white {
        width: 80px;
        height: 80px;
    }

    /* Simplifier les animations sur mobile */
    .service-icon-img {
        animation: none;
    }

    .ai-ecosystem {
        min-height: 450px;
    }

    .ecosystem-glow {
        width: 300px;
        height: 300px;
    }

    .core-center {
        width: 90px;
        height: 90px;
    }

    .core-center svg {
        width: 35px;
        height: 35px;
    }

    .core-label {
        font-size: 0.75rem;
        top: calc(100% + 10px);
    }

    .ring-1 { width: 120px; height: 120px; }
    .ring-2 { width: 150px; height: 150px; }
    .ring-3 { width: 180px; height: 180px; }

    .ecosystem-card {
        width: 100px;
        height: 100px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }

    .card-label {
        font-size: 0.6875rem;
    }

    .card-top-left {
        top: 5%;
        left: 5%;
    }

    .card-top-right {
        top: 5%;
        right: 5%;
    }

    .card-bottom-left {
        bottom: 5%;
        left: 5%;
    }

    .card-bottom-right {
        bottom: 5%;
        right: 5%;
    }

    .workflow-popover {
        width: 260px;
        padding: 1.5rem;
        top: auto;
        bottom: calc(100% + 15px);
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }

    .ecosystem-card:hover .workflow-popover {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .card-top-right .workflow-popover,
    .card-bottom-right .workflow-popover {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }

    .card-top-right:hover .workflow-popover,
    .card-bottom-right:hover .workflow-popover {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .popover-title {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .workflow-flow {
        flex-direction: column;
        gap: 0.5rem;
    }

    .flow-step {
        flex-direction: row;
        gap: 0.75rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.6875rem;
    }

    .step-label {
        font-size: 0.625rem;
        text-align: left;
    }

    .flow-connector {
        width: 1px;
        height: 16px;
        background: linear-gradient(180deg, 
            rgba(99, 102, 241, 0.3), 
            rgba(20, 184, 166, 0.3));
        align-self: center;
        margin-left: 14px;
    }

    .flow-connector::after {
        right: auto;
        bottom: -3px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        border-width: 4px 3px 0 3px;
        border-color: rgba(20, 184, 166, 0.5) transparent transparent transparent;
    }

    /* Service Preview Panel on Mobile */
    .service-preview-panel {
        display: none;
    }

    /* On mobile, show simple tooltip on card hover */
    .ecosystem-card::after {
        content: attr(data-title);
        position: absolute;
        bottom: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%);
        padding: 0.75rem 1rem;
        background: rgba(15, 15, 20, 0.98);
        border: 1px solid rgba(99, 102, 241, 0.3);
        border-radius: 8px;
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.95);
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        pointer-events: none;
    }

    .ecosystem-card:hover::after {
        opacity: 1;
        visibility: visible;
    }

    /* Scale down visuals on mobile */
    .preview-visual > div {
        width: 150px;
        height: 150px;
    }

    .network-visual {
        width: 150px;
        height: 150px;
    }

    .document-stack {
        width: 110px;
        height: 140px;
    }

    .document {
        width: 80px;
        height: 100px;
    }

    .currency-symbol {
        font-size: 2rem;
    }

    .chat-container {
        width: 140px;
        height: 140px;
    }

    .chat-bubble {
        padding: 10px 15px;
    }

    .bubble-1 {
        width: 60px;
        height: 40px;
    }

    .bubble-2 {
        width: 55px;
        height: 38px;
    }

    .bubble-3 {
        width: 58px;
        height: 38px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 65px);
        grid-template-rows: repeat(2, 65px);
        gap: 8px;
    }

    .metric-card {
        padding: 8px;
    }
}

/* Stats */
.stats {
    padding: var(--spacing-xl) 0;
    background: var(--color-surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--color-text-muted);
}

/* Exemples → Ce que vous obtenez */

/* Process Flow Visualization */
.process-flow {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(20, 184, 166, 0.03));
    position: relative;
    overflow: hidden;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.workflow-image {
    margin: var(--spacing-lg) auto;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.workflow-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.workflow-image:hover img {
    transform: scale(1.02);
}

.flow-visual {
    margin-top: var(--spacing-lg);
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: var(--spacing-lg);
    background: var(--color-surface-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: var(--spacing-md);
    background: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
    animation: flowNodePulse 3s ease-in-out infinite;
}

@keyframes flowNodePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2); }
}

.flow-node-start {
    border-color: #6366f1;
    animation-delay: 0s;
}

.flow-node-ai {
    border-color: #8b5cf6;
    animation-delay: 0.6s;
}

.flow-node-crm {
    border-color: #14b8a6;
    animation-delay: 1.2s;
}

.flow-node-end {
    border-color: #10b981;
    animation-delay: 1.8s;
}

.flow-node svg {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.flow-node-start svg { color: #6366f1; }
.flow-node-ai svg { color: #8b5cf6; }
.flow-node-crm svg { color: #14b8a6; }
.flow-node-end svg { color: #10b981; }

.flow-node:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
}

.flow-node:hover svg {
    transform: scale(1.1);
}

.flow-node span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.flow-arrow {
    opacity: 0.8;
    animation: flowArrowMove 2s ease-in-out infinite;
}

@keyframes flowArrowMove {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.flow-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 700px;
    margin: 0 auto;
}

.flow-stat {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.flow-stat:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

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

.flow-examples {
    margin-top: var(--spacing-xl);
}

.flow-examples-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.flow-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-sm);
}

.flow-example-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--spacing-md);
    background: var(--color-surface-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: default;
}

.flow-example-card:hover {
    transform: translateX(8px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.flow-example-card svg {
    flex-shrink: 0;
}

.flow-example-card span {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 968px) {
    .flow-diagram {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        width: 40px;
        height: 80px;
    }
    
    .flow-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .flow-node {
        min-width: 100px;
        padding: var(--spacing-sm);
    }
    
    .flow-examples-grid {
        grid-template-columns: 1fr;
    }
}

/* Obtenez Section */
.obtenez {
    padding: var(--spacing-xl) 0;
}

.obtenez-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.obtenez-card {
    padding: var(--spacing-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.obtenez-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.obtenez-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.obtenez-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.obtenez-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.obtenez-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Process */
.process {
    padding: var(--spacing-xl) 0;
    background: var(--color-surface);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.process-step {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.step-description {
    color: var(--color-text-muted);
}

.process-cta {
    text-align: center;
}

/* FAQ */
.faq {
    padding: var(--spacing-xl) 0;
}

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

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-surface);
    border: none;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--color-surface-light);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--color-text-muted);
}

/* Fondateurs */
.fondateurs {
    padding: var(--spacing-xl) 0;
    background: var(--color-surface);
}

.fondateurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    max-width: 700px;
    margin: 0 auto;
}

.fondateur-card {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.fondateur-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.fondateur-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    overflow: hidden;
}

.fondateur-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fondateur-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.fondateur-role {
    font-size: 0.875rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.fondateurs-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Final CTA */
.final-cta {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.final-cta-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.footer-brand img.footer-logo {
    height: 280px;
    width: auto;
    object-fit: contain;
}

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

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-column h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-primary);
}

/* Lien désactivé (ex. Mentions légales) */
.footer-link-disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
}

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

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta:hover {
    background: var(--color-primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --nav-height: 48px;
    }

    .navbar .container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .nav-content {
        min-height: var(--nav-height);
        height: var(--nav-height);
    }

    .nav-brand {
        flex-shrink: 1;
        min-width: 0;
        max-width: calc(100vw - 56px);
    }

    .nav-logo {
        max-height: 36px;
        height: 36px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: left center;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(12px);
        padding: var(--spacing-sm) var(--container-padding);
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

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

    .nav-link,
    .dropdown-link {
        display: block;
        padding: 1rem;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        margin: 0;
        padding-left: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active .nav-dropdown .dropdown-menu {
        max-height: 280px;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
    }

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

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

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .mockup-flow {
        flex-wrap: wrap;
    }

    .flow-arrow {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .piliers-grid {
        grid-template-columns: 1fr;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .quick-nav-item {
        padding: 1.25rem 0.75rem;
    }

    .quick-nav-icon {
        width: 40px;
        height: 40px;
    }

    .quick-nav-icon svg {
        width: 20px;
        height: 20px;
    }

    .quick-nav-label {
        font-size: 0.875rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
    }

    .floating-cta {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        justify-content: center;
    }

    .floating-cta-text {
        display: block;
    }
}

@media (min-width: 769px) {
    .floating-cta-text {
        display: inline;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--nav-height) + 1rem + env(safe-area-inset-top, 0px));
        padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
        min-height: auto;
    }

    .hero .container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        overflow-wrap: break-word;
    }

    .hero-text {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.875rem, 7vw, 2.5rem);
        line-height: 1.2;
        word-break: break-word;
        overflow-wrap: break-word;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        line-height: 1.55;
        max-width: 100%;
        margin-bottom: 1.5rem;
        color: var(--color-text-muted);
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .hero-cta .btn-primary {
        order: 1;
    }

    .hero-cta .btn-secondary {
        order: 2;
    }

    .hero-benefits {
        gap: 0.5rem;
        margin-top: 0;
    }

    .benefit-chip {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
    }

    /* Ecosystem mobile : grille 2x2, cartes tactiles */
    .hero-visual .ai-ecosystem {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        min-height: auto;
        padding: 0.5rem 0;
    }

    .hero-visual .ecosystem-glow,
    .hero-visual .ecosystem-connections,
    .hero-visual .ai-core {
        display: none !important;
    }

    .hero-visual .ecosystem-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.25rem 0.75rem;
        border-radius: 16px;
        background: var(--color-glass);
        border: 1px solid var(--color-border);
        text-decoration: none;
        color: var(--color-text);
        -webkit-tap-highlight-color: transparent;
        transition: background 0.2s, border-color 0.2s, transform 0.2s;
    }

    .hero-visual .ecosystem-card:hover,
    .hero-visual .ecosystem-card:active {
        background: rgba(99, 102, 241, 0.12);
        border-color: rgba(99, 102, 241, 0.35);
        transform: scale(1.02);
    }

    .hero-visual .ecosystem-card .card-glow {
        display: none;
    }

    .hero-visual .ecosystem-card .card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 0.5rem;
    }

    .hero-visual .ecosystem-card .card-icon svg {
        width: 28px;
        height: 28px;
    }

    .hero-visual .ecosystem-card .card-label {
        font-size: 0.9375rem;
        font-weight: 600;
        text-align: center;
        line-height: 1.2;
    }

    .hero-visual .ecosystem-card::after {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 1rem);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-visual .ecosystem-card {
        min-height: 88px;
        padding: 1rem 0.5rem;
    }

    .hero-visual .ecosystem-card .card-label {
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .exemples-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
    }
}

/* Modal Contact Premium */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0;
    max-width: 680px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.08);
    transform: translateY(30px) scale(0.96);
    filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #f0f2f7;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(99, 102, 241, 0.5);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.modal-body {
    margin-top: var(--spacing-xs);
}

.modal-form-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: var(--spacing-md) var(--spacing-lg) 0;
}

.modal-form-wrapper .contact-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    gap: 1rem;
    padding-bottom: 0;
}

.modal-form-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.modal-form-footer {
    flex-shrink: 0;
    margin: 1rem calc(-1 * var(--spacing-lg)) 0;
    padding: 1rem var(--spacing-lg) 1.25rem;
    background: linear-gradient(180deg, rgba(20, 20, 40, 0.98) 0%, #0f0f1a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    padding-right: 40px;
    color: #ffffff;
}

.modal-subtitle {
    color: #b4b8c4;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
    font-size: 0.9375rem;
}

/* Contact Form Premium */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.form-group-turnstile {
    margin: 1rem 0;
}

.form-group-turnstile .cf-turnstile {
    display: inline-block;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f0f2f7;
}

.required {
    color: #a5b4fc;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.9375rem;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b92a8;
}

.form-group textarea {
    resize: vertical;
    min-height: 88px;
    color: #ffffff;
}

/* Custom Select */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #a5b4fc;
    pointer-events: none;
    transition: all 0.25s ease;
}

.select-wrapper:focus-within::after {
    border-top-color: #6366f1;
    transform: translateY(-50%) rotate(180deg);
}

.form-group select {
    appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

/* Custom Checkboxes - Compact */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    color: #f0f2f7;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #6366f1;
    border-color: #6366f1;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.checkbox-label span:last-child {
    font-size: 0.875rem;
    color: #f0f2f7;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bouton Envoyer – footer fixe, toujours visible, texte blanc */
.btn-submit,
.modal-form-footer .btn-submit {
    position: relative;
    width: 100%;
    min-height: 52px;
    background: linear-gradient(135deg, #6366f1, #5558e3) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
    transition: all 0.25s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #5558e3, #4f46e5) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.85;
    color: #ffffff !important;
}

.btn-submit .btn-text,
.btn-submit .btn-loading {
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
    color: #ffffff !important;
}

.btn-loading svg {
    animation: spin 1s linear infinite;
    color: #ffffff;
}

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

.btn-tertiary {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.875rem 1.5rem;
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Success View */
.modal-success {
    text-align: center;
    animation: fadeIn 0.5s ease;
    padding: var(--spacing-md) var(--spacing-lg);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    color: white;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive Modal */
@media (max-width: 640px) {
    .modal-content {
        max-height: 95vh;
    }

    .modal-form-wrapper {
        padding: var(--spacing-sm) var(--spacing-md) 0;
    }

    .modal-form-footer {
        margin-left: calc(-1 * var(--spacing-md));
        margin-right: calc(-1 * var(--spacing-md));
        padding: 1rem var(--spacing-md) 1.25rem;
    }

    .modal-success {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES PREMIUM ULTRA-MODERNE ===== */

.services-premium {
    padding: 150px 0;
    background: #0a0a0f;
    position: relative;
    overflow: hidden;
}

/* Effet de fond animé */
.services-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    animation: bg-morph 20s ease-in-out infinite;
}

@keyframes bg-morph {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.piliers-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.container-new {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* En-tête moderne */
.services-header-new {
    text-align: center;
    margin-bottom: 80px;
    animation: header-fade-in 1s ease-out;
}

@keyframes header-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-kicker {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: kicker-pulse 3s ease-in-out infinite;
}

@keyframes kicker-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    }
}

.services-title-new {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    color: #eaf0ff;
}

.highlight-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #14b8a6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.services-subtitle {
    font-size: 20px;
    color: rgba(234, 240, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Bento Grid Layout */
.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

/* Cartes Bento */
.bento-card {
    position: relative;
    border-radius: 32px;
    background: rgba(18, 18, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 40px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.bento-large {
    grid-column: span 2;
    min-height: 450px;
}

.bento-medium {
    grid-column: span 1;
    min-height: 450px;
}

/* Styles alternés pour le layout */
.bento-card:nth-child(1) {
    grid-column: 1 / 3;
}

.bento-card:nth-child(2) {
    grid-column: 3 / 4;
}

.bento-card:nth-child(3) {
    grid-column: 1 / 2;
}

.bento-card:nth-child(4) {
    grid-column: 2 / 4;
}

/* Fond gradient animé */
.card-bg-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.gradient-purple {
    background: radial-gradient(circle at 20% 20%, #6366f1 0%, transparent 70%);
}

.gradient-blue {
    background: radial-gradient(circle at 80% 20%, #3b82f6 0%, transparent 70%);
}

.gradient-teal {
    background: radial-gradient(circle at 20% 80%, #14b8a6 0%, transparent 70%);
}

.gradient-violet {
    background: radial-gradient(circle at 80% 80%, #8b5cf6 0%, transparent 70%);
}

.bento-card:hover .card-bg-gradient {
    opacity: 0.15;
}

/* Logo géant en arrière-plan */
.card-bg-logo {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    opacity: 0.05;
    filter: blur(1px) brightness(1.2);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: bg-logo-float 10s ease-in-out infinite;
}

@keyframes bg-logo-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    75% {
        transform: translateY(20px) rotate(-2deg);
    }
}

.bento-card:hover .card-bg-logo {
    opacity: 0.12;
    transform: translateY(-50%) scale(1.08);
    filter: blur(0px) brightness(1.3);
}

/* Effet de masque dégradé sur le logo de fond */
.card-bg-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(18, 18, 26, 0.8) 80%);
    z-index: 1;
    pointer-events: none;
}

/* Effet de lueur */
.card-glow-effect {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    border-radius: 32px;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
    animation: glow-rotate 8s linear infinite;
}

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

.bento-card:hover .card-glow-effect {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

/* En-tête de carte */
.card-header-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    z-index: 1;
    position: relative;
}

/* Double intégration des logos : petit + grand en fond */
.card-icon-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo principal - agrandi et plus visible */
.card-icon-new {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 12px 32px rgba(99, 102, 241, 0.4));
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: icon-levitate 6s ease-in-out infinite, icon-shimmer 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes icon-levitate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes icon-shimmer {
    0%, 100% {
        filter: drop-shadow(0 12px 32px rgba(99, 102, 241, 0.4)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 12px 32px rgba(99, 102, 241, 0.6)) brightness(1.15);
    }
}

.bento-card:hover .card-icon-new {
    transform: scale(1.15) rotate(-8deg);
    filter: drop-shadow(0 20px 50px rgba(99, 102, 241, 0.8)) brightness(1.2);
    animation-play-state: paused;
}

/* Particules qui émanent de l'icône */
.card-icon-wrapper::before,
.card-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
    animation: particle-float 4s ease-in-out infinite;
}

.card-icon-wrapper::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-icon-wrapper::after {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-30px, -30px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-60px, -60px) scale(0.5);
    }
}

/* Anneaux multiples autour de l'icône */
.icon-glow-ring {
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: ring-pulse 3s ease-in-out infinite;
    z-index: 1;
}

.icon-glow-ring::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    animation: ring-pulse 3s ease-in-out infinite reverse;
}

.icon-glow-ring::after {
    content: '';
    position: absolute;
    inset: 10px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    border-radius: 50%;
    animation: inner-glow 4s ease-in-out infinite;
}

@keyframes ring-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes inner-glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

.card-badge {
    font-size: 14px;
    font-weight: 700;
    color: rgba(99, 102, 241, 0.6);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.bento-card:hover .card-badge {
    color: rgba(99, 102, 241, 1);
    background: rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

/* Contenu de carte */
.card-content-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
}

.card-title-new {
    font-size: 32px;
    font-weight: 700;
    color: #eaf0ff;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.bento-card:hover .card-title-new {
    color: #ffffff;
}

.card-description-new {
    font-size: 17px;
    color: rgba(234, 240, 255, 0.7);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.bento-card:hover .card-description-new {
    color: rgba(234, 240, 255, 0.9);
}

/* Stats */
.card-stats {
    display: flex;
    gap: 32px;
    padding: 20px 0;
}

.stat-item-new {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value-new {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label-new {
    font-size: 13px;
    color: rgba(234, 240, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tags */
.card-tags-new {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.tag-new {
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: rgba(99, 102, 241, 0.9);
    transition: all 0.3s ease;
}

.bento-card:hover .tag-new {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

/* Flèche */
.card-arrow-new {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(99, 102, 241, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.bento-card:hover .card-arrow-new {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.6);
    transform: translate(4px, -4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* Animation d'entrée */
.bento-card {
    animation: card-enter 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.bento-card:nth-child(1) {
    animation-delay: 0.1s;
}

.bento-card:nth-child(2) {
    animation-delay: 0.2s;
}

.bento-card:nth-child(3) {
    animation-delay: 0.3s;
}

.bento-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Bento Grid */
@media (max-width: 1200px) {
    .services-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-card:nth-child(1),
    .bento-card:nth-child(4) {
        grid-column: 1 / 3;
    }
    
    .bento-card:nth-child(2),
    .bento-card:nth-child(3) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .container-new {
        padding: 0 20px;
    }
    
    .piliers-new {
        padding: 80px 0;
    }
    
    .services-header-new {
        margin-bottom: 50px;
    }
    
    .services-title-new {
        font-size: 36px;
    }
    
    .services-subtitle {
        font-size: 16px;
    }
    
    .services-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bento-card:nth-child(1),
    .bento-card:nth-child(2),
    .bento-card:nth-child(3),
    .bento-card:nth-child(4) {
        grid-column: 1;
        min-height: 350px;
    }
    
    .bento-card {
        padding: 30px;
    }
    
    .card-icon-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .card-icon-new {
        width: 90px;
        height: 90px;
    }
    
    .card-bg-logo {
        width: 300px;
        height: 300px;
        opacity: 0.04;
    }
    
    .card-title-new {
        font-size: 24px;
    }
    
    .card-description-new {
        font-size: 15px;
    }
    
    .card-stats {
        gap: 20px;
    }
    
    .stat-value-new {
        font-size: 22px;
    }
    
    .card-arrow-new {
        width: 40px;
        height: 40px;
        bottom: 30px;
        right: 30px;
    }
    
    .card-icon-new {
        animation: icon-shimmer 3s ease-in-out infinite;
    }
    
    .card-icon-wrapper::before,
    .card-icon-wrapper::after {
        display: none;
    }
    
    .card-glow-effect {
        display: none;
    }
    
    .bg-logo-img {
        animation: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .modal-overlay,
    .modal-content,
    .reveal,
    .pilier-card-reveal,
    .piliers-header-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
    
    .bento-card,
    .card-icon-new,
    .icon-glow-ring,
    .services-kicker,
    .highlight-text,
    .card-glow-effect {
        animation: none !important;
    }
}
