/* Variables CSS Modernes EcoCarbon */
:root {
    --primary: #00d4aa;
    --primary-dark: #00b894;
    --primary-light: #00f5d4;
    --secondary: #0984e3;
    --secondary-dark: #0770c4;
    --accent: #6c5ce7;
    --accent-dark: #5649c2;
    
    --dark: #0a0f1c;
    --dark-light: #1a2332;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    
    --success: #00d4aa;
    --warning: #fdcb6e;
    --error: #e74c3c;
    --info: #3498db;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--primary));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-light));
    --gradient-ocean: linear-gradient(135deg, #00d4aa, #0984e3, #6c5ce7);
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(0, 212, 170, 0.3);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-ocean);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: splashOut 0.5s ease-in-out 2s forwards;
}

.splash-content {
    text-align: center;
    color: white;
}

.splash-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.splash-logo i {
    font-size: 4rem;
    animation: pulse 2s infinite;
}

.splash-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

@keyframes splashOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.1); display: none; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Preloader Quantum */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: var(--transition-slow);
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    max-width: 500px;
}

.quantum-loader {
    margin: 0 auto 3rem;
    width: 120px;
    height: 120px;
    position: relative;
}

.quantum-sphere {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 212, 170, 0.3);
    border-radius: 50%;
    position: relative;
    animation: quantumSpin 4s linear infinite;
}

.quantum-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    border: 2px dashed rgba(0, 212, 170, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: orbitReverse 3s linear infinite;
}

.quantum-particle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    animation: quantumPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px var(--primary);
}

@keyframes quantumSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbitReverse {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes quantumPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(1.5); opacity: 0.7; }
}

.preloader-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.preloader-text p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.loading-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-loading span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Navigation */
.nav-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text span:first-child {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--light);
}

.brand-pro {
    font-weight: 800;
    font-size: 0.95rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-primary {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: var(--light);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--light);
    transition: var(--transition);
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--light);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Hero Section Quantum */
.quantum-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#quantumCanvas {
    width: 100%;
    height: 100%;
    background: var(--dark);
}

.gradient-matrix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(9, 132, 227, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(108, 92, 231, 0.1) 0%, transparent 50%);
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    padding-top: 4rem;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: glowSlide 3s infinite;
}

@keyframes glowSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: var(--light);
    font-weight: 600;
}

/* Quantum Stats */
.quantum-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.quantum-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quantum-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.quantum-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-glow);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--primary);
}

/* Hero Visual - Globe Animation */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantum-visualization {
    position: relative;
    width: 400px;
    height: 400px;
}

.globe-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.data-globe {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 212, 170, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: globeRotate 20s linear infinite;
}

.data-globe::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    border: 1px dashed rgba(0, 212, 170, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.data-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dataPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary);
}

.point-1 { top: 20%; left: 30%; animation-delay: 0s; }
.point-2 { top: 60%; left: 20%; animation-delay: 0.5s; }
.point-3 { top: 40%; left: 70%; animation-delay: 1s; }
.point-4 { top: 80%; left: 60%; animation-delay: 1.5s; }
.point-5 { top: 30%; left: 50%; animation-delay: 2s; }

@keyframes globeRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes dataPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.visual-label {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    white-space: nowrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.scroll-arrow {
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Sections Générales */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Section À Propos */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-card,
.vision-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    color: var(--gray);
    line-height: 1.6;
}

.values-grid h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Timeline Visuelle */
.about-visual {
    position: sticky;
    top: 2rem;
}

.timeline-visual {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2.5rem;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-year {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.service-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Thématiques Grid */
.themes-grid {
    display: grid;
    gap: 2rem;
}

.theme-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.category-title i {
    font-size: 1.5rem;
}

.theme-items {
    display: grid;
    gap: 1rem;
}

.theme-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.theme-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.theme-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.theme-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.theme-level {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-image {
    position: relative;
    height: 200px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card.featured .blog-image {
    height: 100%;
}

.image-placeholder {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.5;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-category {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-date {
    color: var(--gray);
    font-size: 0.8rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Études de Cas - CORRIGÉ */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-study {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.case-study:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.client-logo {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.case-badge {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.case-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.case-stat {
    text-align: center;
}

.case-stat .stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.case-stat .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.case-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* SUPPRESSION des éléments problématiques */
.case-visual,
.progress-chart,
.chart-bar,
.case-testimonial {
    display: none !important;
}

/* Charts Section */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.chart-container.large {
    grid-column: 1 / 3;
}

.chart-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.chart-actions {
    display: flex;
    gap: 0.5rem;
}

.chart-visual {
    padding: 2rem;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mock Charts */
.mock-chart {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    gap: 2rem;
    padding: 1rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 2rem;
    width: 100%;
    height: 100%;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.bar {
    width: 100%;
    border-radius: var(--radius);
    transition: height 1s ease-in-out;
    position: relative;
}

.bar.scope1 { background: var(--primary); }
.bar.scope2 { background: var(--secondary); }
.bar.scope3 { background: var(--accent); }

.bar-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.mock-pie-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary) 0% 35%,
        var(--secondary) 35% 60%,
        var(--accent) 60% 80%,
        var(--warning) 80% 100%
    );
    position: relative;
}

.pie-segment {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.mock-line-chart {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 212, 170, 0.1) 1px, transparent 1px);
    background-size: 100% 20%;
    position: relative;
}

.line-path {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, transparent 0%, var(--primary) 100%);
    clip-path: polygon(0% 100%, 10% 80%, 30% 60%, 50% 40%, 70% 25%, 90% 15%, 100% 15%, 100% 100%);
    opacity: 0.3;
}

.data-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

/* Impact Temps Réel */
.impact-dashboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.impact-counter {
    text-align: center;
    margin-bottom: 3rem;
}

.counter-value {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.counter-label {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.counter-subtitle {
    color: var(--primary);
    font-weight: 600;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.impact-metric {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.impact-metric:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.2rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.metric-trend.up {
    color: var(--success);
}

.metric-trend.down {
    color: var(--error);
}

.api-integration {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-integration h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.api-integration p {
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.api-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.api-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-light);
}

.api-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.period {
    color: var(--gray);
    font-size: 0.9rem;
}

.plan-description {
    color: var(--gray);
    font-size: 0.9rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-included {
    color: var(--light);
}

.feature-excluded {
    color: var(--gray);
    text-decoration: line-through;
}

.feature-included i {
    color: var(--primary);
}

.feature-excluded i {
    color: var(--gray);
}

/* Comparison Table */
.comparison-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.feature-comparison {
    width: 100%;
    border-collapse: collapse;
}

.feature-comparison th,
.feature-comparison td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-comparison th {
    font-weight: 600;
    color: var(--primary);
}

.feature-comparison th:first-child {
    text-align: left;
    color: var(--light);
}

.feature-comparison td:first-child {
    text-align: left;
    font-weight: 500;
}

.feature-comparison i.fa-check {
    color: var(--primary);
}

.feature-comparison i.fa-times {
    color: var(--gray);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.faq-category h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--light);
    padding: 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
}

/* CTA Section */
.premium-cta {
    position: relative;
    padding: 8rem 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-particles {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(9, 132, 227, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-subtitle strong {
    color: var(--light);
    font-weight: 600;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-weight: 500;
}

.feature-guarantee i {
    color: var(--primary);
}

/* Footer */
.premium-footer {
    background: var(--dark-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    color: var(--gray);
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary);
    width: 16px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-group h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.link-group a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .quantum-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container.large {
        grid-column: 1;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-primary {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .quantum-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .case-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .api-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .btn-hero,
    .btn-xl {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .quantum-visualization {
        width: 300px;
        height: 300px;
    }
    
    .data-globe {
        width: 200px;
        height: 200px;
    }
    
    .splash-logo {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .splash-logo i {
        font-size: 3rem;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

/* SECTION GRAPHIQUES - VERSION AMÉLIORÉE */
.charts-grid-improved {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.chart-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.chart-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.chart-card.large {
    grid-column: 1 / -1;
}

.chart-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-content {
    padding: 2rem;
}

/* Analyse Scope Améliorée */
.scope-analysis {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scope-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.scope-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.scope-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.scope-icon.scope1 { background: rgba(0, 212, 170, 0.2); color: var(--primary); }
.scope-icon.scope2 { background: rgba(9, 132, 227, 0.2); color: var(--secondary); }
.scope-icon.scope3 { background: rgba(108, 92, 231, 0.2); color: var(--accent); }

.scope-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.scope-details p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.scope-visual {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 200px;
}

.scope-bar {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.scope-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

.scope1 { background: var(--primary); }
.scope2 { background: var(--secondary); }
.scope3 { background: var(--accent); }

.scope-value {
    width: 40px;
    text-align: right;
    font-weight: 700;
    font-size: 1rem;
}

/* Graphique circulaire amélioré */
.pie-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 200px;
}

.pie-chart-visual {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary) 0% 35%,
        var(--secondary) 35% 60%,
        var(--accent) 60% 80%,
        var(--warning) 80% 100%
    );
    position: relative;
    flex-shrink: 0;
}

.pie-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.legend-color.energy { background: var(--primary); }
.legend-color.transport { background: var(--secondary); }
.legend-color.process { background: var(--accent); }
.legend-color.other { background: var(--warning); }

/* Graphique de tendance amélioré */
.trend-analysis {
    height: 200px;
    display: flex;
    flex-direction: column;
}

.trend-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.trend-stat {
    text-align: center;
}

.trend-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.trend-stat .stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.trend-chart-full {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.trend-line-improved {
    position: relative;
    flex: 1;
    margin-bottom: 2rem;
}

.data-point-improved {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, 50%);
    border: 2px solid var(--dark);
}

.data-point-improved::after {
    content: attr(data-value) '%';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--primary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.months-full {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   CHATBOT ECOCARBON STYLES
   ============================================ */

/* Bouton flottant du chatbot */
.chatbot-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: pulse 2s infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.4);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Conteneur principal du chatbot */
.chatbot-container {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 380px;
    height: 600px;
    background: var(--dark-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transform-origin: bottom right;
    animation: chatbotSlideIn 0.3s ease-out forwards;
}

.chatbot-container.open {
    display: flex;
}

@keyframes chatbotSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* En-tête du chatbot */
.chatbot-header {
    background: var(--gradient-dark);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chatbot-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

.chatbot-title h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.chatbot-title p {
    font-size: 0.8rem;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-title p::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Corps de la conversation */
.chatbot-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    scroll-behavior: smooth;
}

/* Personnalisation de la scrollbar */
.chatbot-body::-webkit-scrollbar {
    width: 6px;
}

.chatbot-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.chatbot-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Messages */
.chat-message {
    display: flex;
    gap: 1rem;
    animation: messageSlide 0.3s ease-out;
}

.chat-message.bot-message {
    align-items: flex-start;
}

.chat-message.user-message {
    flex-direction: row-reverse;
    align-items: flex-start;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Avatar des messages */
.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.9rem;
}

.user-message .message-avatar {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    font-size: 0.9rem;
}

/* Contenu des messages */
.message-content {
    max-width: 75%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.user-message .message-content {
    align-items: flex-end;
}

.message-text {
    padding: 1rem;
    border-radius: var(--radius-lg);
    line-height: 1.5;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.bot-message .message-text {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border-top-left-radius: 0;
}

.user-message .message-text {
    background: var(--gradient-primary);
    color: white;
    border-top-right-radius: 0;
}

/* Actions rapides */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-action {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-action:hover {
    background: rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

/* Pied de page du chatbot */
.chatbot-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    background: rgba(10, 15, 28, 0.95);
}

/* Zone de saisie */
.chat-input-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    color: var(--light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.chat-input::placeholder {
    color: var(--gray);
}

.chat-send {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-send:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Suggestions */
.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.chat-suggestions span {
    font-size: 0.8rem;
    color: var(--gray);
    margin-right: 0.5rem;
}

.suggestion {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.suggestion:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    width: fit-content;
    border-top-left-radius: 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
}

/* Liens dans les messages */
.chat-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary);
    transition: var(--transition);
}

.chat-link:hover {
    border-bottom-style: solid;
}

/* Réponses structurées */
.chat-response {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.response-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
}

.response-list {
    padding-left: 1.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.response-list li {
    color: var(--gray-light);
    line-height: 1.5;
}

.response-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.response-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100% - 2rem);
        height: 70vh;
        bottom: 5rem;
        right: 1rem;
        left: 1rem;
        transform-origin: bottom center;
    }
    
    .chatbot-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .chatbot-body {
        padding: 1rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .chat-suggestions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .chat-suggestions span {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        width: calc(100% - 1rem);
        height: 80vh;
        right: 0.5rem;
        left: 0.5rem;
    }
    
    .chatbot-header {
        padding: 0.75rem 1rem;
    }
    
    .message-content {
        max-width: 90%;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .quick-action {
        width: 100%;
        justify-content: center;
    }
}

/* Animation de fermeture */
.chatbot-container.closing {
    animation: chatbotSlideOut 0.2s ease-in forwards;
}

@keyframes chatbotSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
}

/* ============================================
   NAVIGATION AVEC STYLE ORIGINAL + BADGE
   ============================================ */

/* Style original de tes .nav-item */
.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: var(--light);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--gradient-primary); /* CADRE BLEU/VERT */
    border-radius: 1px;
}

/* Pour "Mon Impact" avec badge */
.nav-new {
    position: relative;
    background: rgba(0, 212, 170, 0.1); /* Fond vert clair */
    border: 1px solid rgba(0, 212, 170, 0.3); /* Bordure verte */
    color: var(--primary) !important; /* Texte vert */
}

.nav-new:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2);
}

/* Badge "Nouveau" */
.new-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-primary); /* MÊME CADRE BLEU/VERT */
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.3);
    animation: badgeFloat 3s infinite ease-in-out;
    z-index: 10;
    white-space: nowrap;
}

/* Animation flottante pour le badge */
@keyframes badgeFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-3px) scale(1.05); 
    }
}

/* Pour que la navigation tienne tous les éléments */
.nav-primary {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav-primary {
        gap: 0.4rem;
    }
    
    .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .nav-item span:not(.new-badge) {
        display: none; /* Cacher le texte sur tablette */
    }
    
    .nav-item {
        padding: 0.5rem;
        justify-content: center;
        min-width: 44px;
    }
    
    /* Garder le texte pour "Mon Impact" même sur tablette */
    .nav-new span:not(.new-badge) {
        display: inline;
        font-size: 0.8rem;
        margin-left: 0.25rem;
    }
    
    .new-badge {
        top: -6px;
        right: -6px;
        padding: 0.15rem 0.4rem;
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .nav-primary {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-xl);
        gap: 0.5rem;
    }
    
    .nav-open .nav-primary {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }
    
    .nav-item span:not(.new-badge) {
        display: inline;
        font-size: 0.95rem;
    }
    
    .new-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-left: 0.5rem;
        font-size: 0.7rem;
    }
}

/* Pour desktop large - ajuster l'espacement */
@media (min-width: 1200px) {
    .nav-primary {
        gap: 0.75rem;
    }
    
    .nav-item {
        padding: 0.5rem 1.25rem;
    }
}

/* ============================================
   BOUTON THERMOMÈTRE - IDENTIQUE À "MON IMPACT"
   ============================================ */

/* Style identique à .nav-new */
.nav-highlight {
    position: relative; /* ESSENTIEL */
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.nav-highlight:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2);
}

/* Badge identique à .new-badge */
.highlight-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #00d4aa, #0984e3); /* Même gradient que .brand-pro */
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.3);
    animation: badgeFloat 3s infinite ease-in-out;
    z-index: 10;
    white-space: nowrap;
}

/* Animation identique */
@keyframes badgeFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-3px) scale(1.05); 
    }
}

/* Pour que le badge soit visible sur mobile aussi */
@media (max-width: 1024px) {
    .nav-highlight span:not(.highlight-badge) {
        display: none;
    }
    
    .nav-highlight {
        padding: 0.5rem;
        justify-content: center;
        min-width: 44px;
    }
    
    .highlight-badge {
        top: -6px;
        right: -6px;
        padding: 0.1rem 0.4rem;
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .nav-highlight {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }
    
    .nav-highlight span:not(.highlight-badge) {
        display: inline;
        font-size: 0.95rem;
    }
    
    .highlight-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-left: 0.5rem;
        font-size: 0.7rem;
    }
}

/* ===================================================== */
/* SIDERBAR style.css */
/* ===================================================== */

/* Bouton Outils minimaliste */
.tools-hover-wrapper {
    position: relative;
    z-index: 1001;
}

.btn-tools-hover {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius);
    padding: 0.6rem 1rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-tools-hover:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.2);
}

.btn-tools-hover:active {
    transform: translateY(0);
}

.tools-hover-icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-hover-icon i {
    color: var(--primary);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-tools-hover:hover .tools-hover-icon i {
    transform: rotate(20deg);
}

.tools-hover-text {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.btn-tools-hover:hover .tools-hover-text {
    color: var(--primary);
}

/* Sidebar Hover Minimal */
.sidebar-hover-minimal {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 320px;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sidebar-hover-minimal.open {
    transform: translateX(0);
    pointer-events: auto;
}

.sidebar-hover-minimal-content {
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(0, 212, 170, 0.15);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header minimal */
.sidebar-hover-minimal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.minimal-header-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, 
        rgba(0, 212, 170, 0.1) 0%, 
        transparent 70%);
    z-index: 0;
}

.sidebar-hover-minimal-header h4 {
    position: relative;
    z-index: 1;
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.minimal-live-badge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: var(--success);
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 1rem;
}

.minimal-live-badge i {
    font-size: 0.5rem;
    animation: liveBlink 2s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Body minimal */
.sidebar-hover-minimal-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Boutons principaux (Indices & Convertisseur) */
.minimal-tool-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.minimal-tool-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.minimal-tool-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 170, 0.2);
    transform: translateX(5px);
}

.minimal-tool-btn:hover::before {
    transform: scaleY(1);
}

.indices-btn:hover {
    border-color: rgba(108, 92, 231, 0.3);
}

.indices-btn::before {
    background: var(--accent);
}

.converter-btn:hover {
    border-color: rgba(0, 212, 170, 0.3);
}

.minimal-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.indices-btn .minimal-btn-icon {
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent);
}

.converter-btn .minimal-btn-icon {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
}

.minimal-btn-content {
    flex: 1;
}

.minimal-btn-title {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.minimal-btn-desc {
    font-size: 0.8rem;
    color: var(--gray);
}

.minimal-btn-badge {
    color: var(--gray);
    font-size: 0.9rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.minimal-tool-btn:hover .minimal-btn-badge {
    opacity: 1;
    color: var(--primary);
    transform: translateX(3px);
}

/* Espace vide pour ajouts futurs */
.minimal-empty-slots {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.empty-slot {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: var(--gray);
    cursor: pointer;
    transition: all 0.25s ease;
}

.empty-slot:hover {
    border-color: rgba(0, 212, 170, 0.3);
    background: rgba(0, 212, 170, 0.05);
    color: var(--primary-light);
}

.empty-slot i {
    font-size: 0.9rem;
    opacity: 0.5;
}

.empty-slot:hover i {
    opacity: 1;
    transform: rotate(90deg);
}

.empty-slot span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Mini-convertisseur intégré */
.mini-converter-widget {
    margin: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-converter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.mini-converter-input {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mini-converter-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, 
        rgba(0, 212, 170, 0.2), 
        rgba(0, 212, 170, 0.8));
    border-radius: 3px;
    outline: none;
}

.mini-converter-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
}

.mini-slider-value {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.mini-slider-value small {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 400;
    margin-left: 0.5rem;
}

.mini-converter-result {
    text-align: center;
    padding: 0.75rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.mini-result-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.mini-result-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* Footer minimal */
.sidebar-hover-minimal-footer {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.minimal-footer-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.75rem;
}

.minimal-footer-note i {
    color: var(--primary);
    font-size: 0.7rem;
}

/* Zone de détection hover */
.sidebar-hover-minimal-trigger {
    position: fixed;
    top: 0;
    right: 0;
    width: 80px;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
}

/* Animation d'entrée */
@keyframes slideInMinimal {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sidebar-hover-minimal.open {
    animation: slideInMinimal 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar-hover-minimal {
        width: 100%;
        max-width: 300px;
    }
    
    .tools-hover-text {
        display: none;
    }
    
    .btn-tools-hover {
        padding: 0.6rem 0.75rem;
    }
    
    .minimal-empty-slots {
        display: none;
    }
}

@media (max-width: 480px) {
    .sidebar-hover-minimal {
        max-width: 280px;
    }
    
    .sidebar-hover-minimal-body {
        padding: 1rem;
    }
    
    .mini-converter-widget {
        margin: 1rem;
        padding: 1rem;
    }
}
/* ===================================================== */
/* FIN DU CSS siderbar */
/* ===================================================== */