/* CSS CONSOLIDÉ OPTIMISÉ - celer-ec-optimized.css */



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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

    .mobile-only {
        display: flex;
        align-items: center;
    }
    
    @media screen and (min-width: 1024px) {
        .mobile-only {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            height: 0 !important;
            width: 0 !important;
            overflow: hidden !important;
        }
    }

/* ==========================================
   SECTION INTRODUCTION - CORRIGÉE
   ========================================== */
/* AMÉLIORER L'ESPACEMENT DU HERO - À AJOUTER DANS index.css */
/* FORCER L'AFFICHAGE HORIZONTAL DU HERO SUR DESKTOP - À AJOUTER AU DÉBUT DE index.css */
/* --- Version Desktop (par défaut) --- */
.language-selector {
    position: fixed;
    top: 18%;
    right: 1px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Pour la classe hidden (si tu veux le hide au scroll) */
.language-selector.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

/* ----- Version Mobile ----- */
@media (max-width: 768px) {
    .language-selector {
        top: auto;              /* enlève top */
        bottom: 15px;           /* barre en bas */
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;    /* horizontal */
        gap: 15px;
        padding: 8px 14px;
        border-radius: 12px;
        font-size: 16px;
    }

    .language-selector a {
        font-size: 16px;
    }
}


/* Container principal du hero */
#hero .container .flex {
    display: flex !important;
    flex-direction: column !important;
}

@media (min-width: 1024px) {
    #read-more-btn {
        display: none;
    }
}
/* Sur desktop : forcer l'affichage horizontal */
@media (min-width: 1024px) {
    #hero .container .flex {
        flex-direction: row !important;
        align-items: center !important;
        gap: 3rem !important;
    }
    
    /* Texte à gauche */
    .hero-text-left {
        order: 1 !important;
        width: 50% !important;
        flex: 1 !important;
    }
    
    /* Images à droite */
    .hero-images-right {
        order: 2 !important;
        width: 50% !important;
        flex: 1 !important;
    }
    
    /* Assurer que les deux colonnes ont la même hauteur */
    #hero .flex > div {
        min-height: 500px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}

#hero {
    background: linear-gradient(135deg, #F8F9FA 0%, #ffffff 50%, #F8F9FA 100%);
    /* Remplace le gradient gold par le Blanc Cassé CELER */
}

/* CORRECTION IMAGE EXPERT-COMPTABLE */
.grid.grid-cols-12 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .col-span-4 img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        min-height: 500px;
    }
    
    .grid.grid-cols-12.h-\[500px\] {
        height: 500px !important;
    }
}

.hover-scale {
    transition: transform 0.3s ease;
}

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




/* ==========================================
   RESPONSIVE - MOBILE FIRST
   ========================================== */

@media (max-width: 768px) {
    /* Hero mobile */
    .progress-bar-container {
        margin: 1.5rem 0 1rem 0;
    }
    
    .progress-bar {
        width: 240px;
        height: 3px;
    }
    
    .message-container {
        min-height: 120px;
        padding: 0.8rem;
        margin: 0 0.5rem;
    }
    
    .message-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .message-icon-container {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    /* Introduction mobile */
    #hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    
    .animate-fadeInUp {
        animation: fadeInUpMobile 0.6s ease-out forwards;
    }
    
    @keyframes fadeInUpMobile {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Corrections débordement */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .container, .max-w-7xl, .max-w-6xl {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 480px) {
    .progress-bar-container {
        margin: 1rem 0 0.8rem 0;
    }
    
    .progress-bar {
        width: 200px;
    }
    
    .message-container {
        min-height: 110px;
        padding: 0.6rem;
        margin: 0 0.3rem;
    }
    
    #hero {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 380px) {
    .progress-bar {
        width: 180px;
    }
    
    .message-container {
        min-height: 100px;
        padding: 0.5rem;
        margin: 0 0.2rem;
    }
}

/* ==========================================
   UTILITAIRES ET ANIMATIONS
   ========================================== */

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    33% { 
        transform: translateY(-15px) rotate(2deg) scale(1.02); 
    }
    66% { 
        transform: translateY(-5px) rotate(-1deg) scale(0.98); 
    }
}

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

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

/* Classes utilitaires */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-fadeInUp { animation: fadeInUp 0.8s ease-out forwards; }
.animate-pulse { animation: pulse 2s infinite; }

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, #1B3B5F, #B87854);
    /* Bleu Marine vers Cuivre CELER */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-gradient {
    background: linear-gradient(135deg, #1B3B5F, #B87854, #2d5280);
    /* Bleu Marine, Cuivre, Bleu Marine Light CELER */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Boutons */
.btn-primary {
    background: linear-gradient(135deg, #1B3B5F, #2d5280);
    /* Bleu Marine vers Bleu Marine Light CELER */
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(27, 59, 95, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d5280, #B87854);
    /* Bleu Marine Light vers Cuivre CELER */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(27, 59, 95, 0.4);
}

/* Performance optimizations */
.geometric-shape, .rotating-message, .btn-primary, .btn-secondary {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


      /* ==========================================
   INDEX-INTRODUCTION
   ========================================== */
   /* CSS supplémentaire pour l'optimisation mobile */
@media (max-width: 768px) {
    /* Réduction du padding vertical sur mobile */
    #hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    
    /* Animations mobiles optimisées */
    .animate-fadeInUp {
        animation: fadeInUpMobile 0.6s ease-out forwards;
    }
    
    @keyframes fadeInUpMobile {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Optimisation des images mobiles */
    .group img {
        transition: transform 0.3s ease;
    }
    
    .group:active img {
        transform: scale(0.98);
    }
    
    /* Touch targets optimisés */
    .group {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    /* Encore plus compact sur très petit mobile */
    #hero {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Images plus petites sur très petit écran */
    .h-48 {
        height: 10rem; /* 160px au lieu de 192px */
    }
    
    .h-32 {
        height: 7rem; /* 112px au lieu de 128px */
    }
}

/* Optimisations performance */
@media (prefers-reduced-motion: reduce) {
    .animate-fadeInUp,
    .animate-fadeInRight,
    .animate-pulse-subtle,
    .animate-float,
    .animate-bounce {
        animation: none;
    }
    
    .transition-all,
    .transition-transform,
    .transition-opacity {
        transition: none;
    }
}

/* Amélioration accessibilité */
@media (hover: none) and (pointer: coarse) {
    .hover-scale:hover {
        transform: none;
    }
    
    .group-hover\:translate-x-1:hover {
        transform: none;
    }
}
@media (min-width: 1024px) {
    .col-span-4 img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        min-height: 500px; /* Force la hauteur minimum */
    }
    
    .grid.grid-cols-12.h-\[500px\] {
        height: 500px !important;
    }
}

/* Assurer la cohérence sur toutes les tailles */
.hover-scale img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



        /* ==========================================
   SERVICES HYBRIDE
   ========================================== */
    
    @keyframes rocket-float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-5px) rotate(2deg); }
        }

        @keyframes slideServices {
            0% { transform: translateX(0); }
            100% { transform: translateX(-2700px); } /* 9 slides × 300px = 2700px */
        }

        @keyframes slideServicesMobile {
            0% { transform: translateX(0); }
            100% { transform: translateX(-2520px); } /* 9 slides × 280px = 2520px */
        }

        /* Container du carousel */
        .carousel-container {
            position: relative;
            width: 100%;
            height: 400px;
            overflow: hidden;
            border-radius: 16px;
            background: #f8f9fa;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin: 2rem 0;
        }

        /* Track du carousel */
        .carousel-track {
            display: flex;
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            animation: slideServices 45s infinite linear; /* 5s par slide */
        }

        /* Pause au survol */
        .carousel-container:hover .carousel-track {
            animation-play-state: paused;
        }

        /* Slides individuelles */
        .carousel-slide {
            min-width: 300px;
            height: 100%;
            margin-right: 2rem;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 15px;
            position: relative;
        }

        /* Styles des slides */
.title-slide {
    background: linear-gradient(135deg, #1B3B5F 0%, #2d5280 100%);
    /* Bleu Marine vers Bleu Marine Light CELER */
    color: white;
    text-align: center;
    padding: 2rem;
}
        .title-slide h2 {
            font-size: clamp(1.5rem, 4vw, 2.2rem);
            font-weight: 800;
            margin: 0 0 15px 0;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
            line-height: 1.1;
        }

        .title-slide .subtitle {
            font-size: clamp(0.9rem, 2.5vw, 1.1rem);
            opacity: 0.9;
            font-weight: 300;
            line-height: 1.3;
        }

        .description-slide {
            background: white;
            color: #333;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

        .description-slide .content {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .description-slide h3 {
            font-size: clamp(1.1rem, 3vw, 1.5rem);
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .description-slide p {
            font-size: clamp(0.85rem, 2vw, 1rem);
            line-height: 1.5;
            color: #4a5568;
            margin-bottom: 15px;
        }

        .description-slide .features {
            list-style: none;
            padding: 0;
            margin: 15px 0;
        }

        .description-slide .features li {
            font-size: clamp(0.8rem, 1.8vw, 0.9rem);
            color: #718096;
            margin: 6px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: left;
        }

        .description-slide .features li::before {
            content: "✓";
            color: #9e9574;
            font-weight: bold;
            margin-right: 8px;
            font-size: 1em;
            flex-shrink: 0;
        }

        .image-slide {
            background-size: cover;
            background-position: center;
            position: relative;
            border-radius: 15px;
            overflow: hidden;
        }

        .image-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
        }

        .image-slide .overlay-text {
            position: relative;
            z-index: 2;
            color: white;
            text-align: center;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
            padding: 0 15px;
        }

        .image-slide h4 {
            font-size: clamp(1.2rem, 3vw, 1.6rem);
            font-weight: 600;
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .image-slide p {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            opacity: 0.9;
            line-height: 1.3;
        }

.cta-button {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #B87854, #a36848);
    /* Cuivre vers Cuivre Dark CELER */
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(184, 120, 84, 0.3);
}

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        /* Animation rocket */
        .fas.fa-rocket {
            animation: rocket-float 3s ease-in-out infinite;
        }

        /* Responsive Mobile */
        @media (max-width: 768px) {
            .carousel-container {
                height: 320px;
            }

            .carousel-track {
                animation: slideServicesMobile 40s infinite linear; /* Plus rapide sur mobile: 4.4s par slide */
            }

            .carousel-slide {
                min-width: 280px; /* Plus petites sur mobile */
            }

            .description-slide {
                padding: 1.5rem;
            }

            .title-slide {
                padding: 1.5rem;
            }

            .description-slide .features li {
                margin: 4px 0;
            }
        }

        @media (max-width: 480px) {
            .carousel-container {
                height: 280px;
            }

            .carousel-slide {
                min-width: 260px; /* Encore plus petites sur très petit mobile */
            }

            .carousel-track {
                animation: slideServicesMobile 36s infinite linear; /* Plus rapide: 4s par slide */
            }

            .description-slide {
                padding: 1.2rem;
            }

            .title-slide {
                padding: 1.2rem;
            }

            .description-slide .features li {
                font-size: 0.75rem;
                margin: 3px 0;
            }

            .cta-button {
                padding: 6px 12px;
                font-size: 0.75rem;
            }
        }

        /* Accessibilité */
        @media (prefers-reduced-motion: reduce) {
            .carousel-track {
                animation: none;
            }
            
            .fas.fa-rocket {
                animation: none;
            }
        }
  
    /* ==========================================
   INDEX-CHATBOT
   ========================================== */
   

        .cb-message-fade-in {
            animation: fadeInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        
        .cb-typing-indicator {
            animation: pulse 1.8s infinite ease-in-out;
        }
        
        .cb-scroll-smooth {
            scroll-behavior: smooth;
        }
        
        .cb-input-focus {
            border-color: var(--cb-primary);
            box-shadow: 0 0 0 3px var(--cb-primary-glow);
            background: rgba(255, 255, 255, 0.95);
        }
        
        .cb-glass-effect {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(167, 151, 126, 0.2);
        }
        
        .cb-hover-lift {
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        .cb-hover-lift:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(167, 151, 126, 0.15);
        }
        
        .cb-message-shadow {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
        }
        
        .cb-gradient-primary {
            background: linear-gradient(135deg, var(--cb-primary) 0%, var(--cb-primary-light) 100%);
        }
        
        .cb-gradient-subtle {
            background: linear-gradient(135deg, rgba(167, 151, 126, 0.03) 0%, rgba(167, 151, 126, 0.08) 100%);
        }
        
        .cb-ai-glow {
            position: relative;
            overflow: hidden;
        }
        
        .cb-ai-glow::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(167, 151, 126, 0.1), transparent);
            animation: shimmer 3s infinite;
        }
        

        
        .cb-neural-pattern {
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(167, 151, 126, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(167, 151, 126, 0.03) 0%, transparent 50%);
        }


        * {
            box-sizing: border-box;
        }



        .cb-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

.cb-minimized {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1B3B5F 0%, #2d5280 100%);
    /* Bleu Marine vers Bleu Marine Light CELER */
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(27, 59, 95, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

        .cb-minimized:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 40px rgba(180, 164, 89, 0.4);
        }

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(27, 59, 95, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(27, 59, 95, 0.6); }
}

        .cb-expanded {
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            display: flex;
            flex-direction: column;
            transform: translateY(0);
            transition: all 0.3s ease;
            border: 1px solid rgba(229, 231, 235, 0.5);
        }

.cb-header {
    background: linear-gradient(135deg, #1B3B5F 0%, #2d5280 100%);
    /* Bleu Marine vers Bleu Marine Light CELER */
    color: white;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

        .flex-1 {
            flex: 1;
        }

        .font-semibold {
            font-weight: 600;
        }

        .text-sm {
            font-size: 14px;
        }

        .text-xs {
            font-size: 12px;
        }

        .opacity-90 {
            opacity: 0.9;
        }

        .flex {
            display: flex;
        }

        .items-center {
            align-items: center;
        }

        .items-end {
            align-items: flex-end;
        }

        .justify-between {
            justify-content: space-between;
        }

        .w-2 {
            width: 8px;
        }

        .h-2 {
            height: 8px;
        }

        .bg-green-300 {
            background-color: #86efac;
        }

        .rounded-full {
            border-radius: 9999px;
        }

        .mr-2 {
            margin-right: 8px;
        }

        .animate-pulse {
            animation: pulse 2s infinite;
        }

        .ml-2 {
            margin-left: 8px;
        }

        .p-1 {
            padding: 4px;
        }

        .hover\:bg-white\/20:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .rounded {
            border-radius: 4px;
        }

        .cb-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
        }

        .cb-messages::-webkit-scrollbar {
            width: 4px;
        }

        .cb-messages::-webkit-scrollbar-track {
            background: transparent;
        }

        .cb-messages::-webkit-scrollbar-thumb {
            background: rgba(148, 163, 184, 0.3);
            border-radius: 2px;
        }

        .cb-input-container {
            padding: 16px;
            background: white;
            border-radius: 0 0 16px 16px;
            border-top: 1px solid #e5e7eb;
        }

        .cb-message {
            margin-bottom: 16px;
            animation: fadeInUp 0.3s ease;
        }

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

        .cb-user-message {
            display: flex;
            justify-content: flex-end;
        }

        .cb-bot-message {
            display: flex;
            justify-content: flex-start;
        }

        .cb-message-content {
            max-width: 80%;
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 14px;
            line-height: 1.4;
        }

.cb-user-message .cb-message-content {
    background: #1B3B5F;  /* Bleu Marine CELER */
    color: white;
    border-radius: 18px 18px 4px 18px;
}

        .cb-bot-message .cb-message-content {
            background: white;
            border: 1px solid #e5e7eb;
            color: #374151;
            border-radius: 18px 18px 18px 4px;
        }

        .font-medium {
            font-weight: 500;
        }

        .mb-2 {
            margin-bottom: 8px;
        }

        .mb-3 {
            margin-bottom: 12px;
        }

        .text-gray-500 {
            color: #6b7280;
        }

.cb-expertise-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(184, 120, 84, 0.1);  /* Cuivre CELER 10% */
    color: #B87854;  /* Cuivre CELER */
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin: 2px;
}

.cb-quick-action {
    background: white;
    border: 1px solid #1B3B5F;  /* Bleu Marine CELER */
    color: #1B3B5F;  /* Bleu Marine CELER */
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

        .cb-quick-action {
            background: white;
            border: 1px solid var(--cb-primary);
            color: var(--cb-primary);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

.cb-quick-action:hover {
    background: #1B3B5F;  /* Bleu Marine CELER */
    color: white;
}

        .cb-input-field {
            width: 100%;
            padding: 12px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s ease;
            resize: none;
            min-height: 60px;
            max-height: 100px;
            font-family: inherit;
        }


.cb-input-field:focus {
    border-color: #1B3B5F;  /* Bleu Marine CELER */
}

.cb-send-button {
    background: #1B3B5F;  /* Bleu Marine CELER */
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-send-button:hover {
    background: #2d5280;  /* Bleu Marine Light CELER */
    transform: scale(1.05);
}

        .cb-send-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .mt-2 {
            margin-top: 8px;
        }

        .text-gray-400 {
            color: #9ca3af;
        }

        .text-blue-600 {
            color: #2563eb;
        }

        .hover\:underline:hover {
            text-decoration: underline;
        }

        .cb-notification {
            position: absolute;
            top: -10px;
            right: -10px;
            background: var(--cb-danger);
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }

        .cb-hidden {
            display: none !important;
        }

        @media (max-width: 480px) {
            .cb-expanded {
                width: calc(100vw - 20px);
                height: calc(100vh - 100px);
                right: 10px;
                bottom: 10px;
            }
        }

        /* Page de démonstration */
        .demo-container {
            text-align: center;
            color: white;
            padding: 40px 20px;
        }

        .demo-title {
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 16px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .demo-subtitle {
            font-size: 18px;
            opacity: 0.9;
            margin-bottom: 32px;
        }

        .demo-instruction {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 20px;
            max-width: 400px;
            margin: 0 auto;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .contextual-suggestions {
            margin: 15px 0;
            padding: 15px;
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            border-radius: 12px;
            border-left: 4px solid #2196f3;
            animation: slideInLeft 0.5s ease;
        }

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

        @keyframes typing {
            0%, 60%, 100% {
                opacity: 0.3;
            }
            30% {
                opacity: 1;
            }
        }

        /*--NOS OUTILS*/
        
.tool-card {
    background: linear-gradient(145deg, #ffffff 0%, #F8F9FA 100%);
    /* Blanc vers Blanc Cassé CELER */
    border: 1px solid rgba(184, 120, 84, 0.1);  /* Cuivre CELER 10% */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
        
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 120, 84, 0.1), transparent);
    /* Cuivre CELER 10% */
    transition: left 0.6s ease;
}
        
        .tool-card:hover::before {
            left: 100%;
        }
        
.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(184, 120, 84, 0.15);  /* Cuivre CELER 15% */
    border-color: rgba(184, 120, 84, 0.3);  /* Cuivre CELER 30% */
}
        
.tool-icon {
    background: linear-gradient(135deg, #B87854, #a36848);
    /* Cuivre vers Cuivre Dark CELER */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}
        
        .tool-card:hover .tool-icon {
            transform: scale(1.1) rotate(5deg);
        }
        .tool-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card button,
.tool-card a {
    margin-top: auto; /* Pousse TOUS les boutons/liens vers le bas */
}
      .tool-button {
    background: linear-gradient(135deg, #B87854, #a36848);
    /* Cuivre vers Cuivre Dark CELER */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
        .tool-card .flex-grow {
    flex-grow: 1; /* Prend tout l'espace disponible */
}
        .tool-button::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 ease;
        }
        
        .tool-button:hover::before {
            left: 100%;
        }
        
.tool-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 120, 84, 0.3);  /* Cuivre CELER 30% */
}
        
        .section-bg {
            background: 
                radial-gradient(circle at 20% 20%, rgba(162, 129, 80, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 122, 0.05) 0%, transparent 50%),
                linear-gradient(135deg, #ece8cb 0%, #f0efe6 100%);
        }
        
        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }
        
        .floating-shape {
            position: absolute;
            opacity: 0.1;
            animation: float 20s infinite linear;
        }
        
        .floating-shape:nth-child(1) {
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }
        
        .floating-shape:nth-child(2) {
            top: 60%;
            right: 10%;
            animation-delay: -10s;
        }
        
        .floating-shape:nth-child(3) {
            bottom: 20%;
            left: 20%;
            animation-delay: -5s;
        }
        

        
        .stagger-animation {
            opacity: 0;
            transform: translateY(30px);
            animation: staggerIn 0.6s ease forwards;
        }
        
        @keyframes staggerIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
.section-title-outils {
    background: linear-gradient(135deg, #1B3B5F, #4A5568);
    /* Bleu Marine vers Gris Ardoise CELER */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
        
            
        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 0 5px rgba(245, 101, 101, 0.5); }
            50% { box-shadow: 0 0 20px rgba(245, 101, 101, 0.8); }
        }

/*--NOS ARTICLES*/
      
        /* Animations personnalisées */


        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

        .slide-in-left {
            animation: slideInLeft 0.6s ease-out forwards;
        }

        /* Effet de parallaxe léger sur le titre */
.parallax-title {
    background: linear-gradient(135deg, #1B3B5F, #B87854, #2d5280);
    /* Bleu Marine, Cuivre, Bleu Marine Light CELER */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

        /* Cartes avec effet glassmorphism */
        .article-card {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .article-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.6s;
        }

        .article-card:hover::before {
            left: 100%;
        }

.article-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(27, 59, 95, 0.15);  /* Bleu Marine CELER 15% */
    border-color: rgba(184, 120, 84, 0.3);  /* Cuivre CELER 30% */
}

        /* Effet d'overlay sur les images */
        .image-overlay {
            position: relative;
            overflow: hidden;
        }

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(27, 59, 95, 0.1), rgba(184, 120, 84, 0.1));
    /* Bleu Marine et Cuivre CELER 10% */
    opacity: 0;
    transition: opacity 0.3s ease;
}

        .article-card:hover .image-overlay::after {
            opacity: 1;
        }

        .article-card:hover .article-image {
            transform: scale(1.1);
        }

        .article-image {
            transition: transform 0.4s ease;
        }

        /* Badge catégorie */
.category-badge {
    background: linear-gradient(135deg, #B87854, #a36848);
    /* Cuivre vers Cuivre Dark CELER */
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(184, 120, 84, 0.3);  /* Cuivre CELER 30% */
}

        /* Animation de chargement */
        .loading-shimmer {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 2s infinite;
        }


        /* Section background avec gradient */
        .section-bg {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            position: relative;
        }

        .section-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f97316' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            opacity: 0.5;
        }



        /* Intersection Observer pour les animations */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ENJEUX METIERS========================================
   <style>
        /* Container principal avec perspective */
        .carousel-container {
            position: relative;
            width: 100%;
            height: 500px;
            perspective: 1200px;
            overflow: hidden;
            margin: 3rem 0;
        }

        /* Zone de présentation des 3 images */
        .carousel-stage {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Pause au survol */
        .carousel-container:hover .carousel-item {
            animation-play-state: paused;
        }

        /* Carte individuelle */
        .carousel-item {
            position: absolute;
            width: 280px;
            height: 350px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }

        /* Animation pour faire tourner les positions - 7 images fluides */
        .carousel-item:nth-child(1) {
            animation: rotatePosition1 35s cubic-bezier(0.4, 0, 0.6, 1) infinite;
            /* Force l'affichage initial pour E-Commerce */
            transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg);
            opacity: 1;
            z-index: 10;
        }
        .carousel-item:nth-child(2) {
            animation: rotatePosition2 35s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        .carousel-item:nth-child(3) {
            animation: rotatePosition3 35s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        .carousel-item:nth-child(4) {
            animation: rotatePosition4 35s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        .carousel-item:nth-child(5) {
            animation: rotatePosition5 35s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        .carousel-item:nth-child(6) {
            animation: rotatePosition6 35s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        .carousel-item:nth-child(7) {
            animation: rotatePosition7 35s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        /* Animations fluides pour 7 images - Chaque image passe par toutes les positions */
        /* Animations fluides pour 7 images - Chaque image passe par toutes les positions */
        @keyframes rotatePosition1 {
            0% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            7% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            14.3% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            21.4% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            28.6% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            35.7% { transform: translateX(-300px) translateZ(-60px) scale(0.7) rotateY(35deg); opacity: 0.5; z-index: 4; }
            42.9% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            50% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            57.1% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            64.3% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            71.4% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            78.6% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            85.7% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            92.9% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            100% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
        }

        @keyframes rotatePosition2 {
            0% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            7% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            14.3% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            21.4% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            28.6% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            35.7% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            42.9% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            50% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            57.1% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            64.3% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            71.4% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            78.6% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            85.7% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            92.9% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            100% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
        }

        @keyframes rotatePosition3 {
            0% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            7% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            14.3% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            21.4% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            28.6% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            35.7% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            42.9% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            50% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            57.1% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            64.3% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            71.4% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            78.6% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            85.7% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            92.9% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            100% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
        }

        @keyframes rotatePosition4 {
            0% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            7% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            14.3% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            21.4% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            28.6% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            35.7% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            42.9% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            50% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            57.1% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            64.3% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            71.4% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            78.6% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            85.7% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            92.9% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            100% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
        }

        @keyframes rotatePosition5 {
            0% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            7% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            14.3% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            21.4% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            28.6% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            35.7% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            42.9% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            50% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            57.1% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            64.3% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            71.4% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            78.6% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            85.7% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            92.9% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            100% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
        }

        @keyframes rotatePosition6 {
            0% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            7% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            14.3% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            21.4% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            28.6% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            35.7% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            42.9% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            50% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            57.1% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            64.3% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            71.4% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            78.6% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            85.7% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            92.9% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            100% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
        }

        @keyframes rotatePosition7 {
            0% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            7% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            14.3% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            21.4% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            28.6% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            35.7% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            42.9% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            50% { transform: translateX(-220px) translateZ(0px) scale(0.9) rotateY(20deg); opacity: 0.8; z-index: 6; }
            57.1% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
            64.3% { transform: translateX(0) translateZ(120px) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; }
            71.4% { transform: translateX(100px) translateZ(60px) scale(1.1) rotateY(-8deg); opacity: 0.9; z-index: 8; }
            78.6% { transform: translateX(220px) translateZ(0px) scale(0.9) rotateY(-20deg); opacity: 0.8; z-index: 6; }
            85.7% { transform: translateX(300px) translateZ(-60px) scale(0.7) rotateY(-35deg); opacity: 0.5; z-index: 4; }
            92.9% { transform: translateX(350px) translateZ(-120px) scale(0.5) rotateY(-50deg); opacity: 0.2; z-index: 2; }
            100% { transform: translateX(-100px) translateZ(60px) scale(1.1) rotateY(8deg); opacity: 0.9; z-index: 8; }
        }

        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .carousel-item:hover img {
            transform: scale(1.05);
        }

        .gradient-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
        }

        .card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem;
            text-align: center;
        }

        .card-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
            line-height: 1.2;
        }

        .card-description {
            color: #d1d5db;
            font-size: 0.9rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            line-height: 1.4;
        }

        .carousel-item:hover .card-description {
            opacity: 1;
        }

        /* Indicateurs de position */
        .position-indicators {
            position: absolute;
            bottom: -60px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(184, 151, 93, 0.3);
            transition: all 0.3s ease;
        }

.indicator.center {
    background: linear-gradient(135deg, #B87854, #a36848);
    /* Cuivre vers Cuivre Dark CELER */
    transform: scale(1.5);
    box-shadow: 0 0 15px rgba(184, 120, 84, 0.5);  /* Cuivre CELER 50% */
}


.indicator.side {
    background: rgba(184, 120, 84, 0.6);  /* Cuivre CELER 60% */
    transform: scale(1.2);
}

        /* Responsive Mobile */
        @media (max-width: 768px) {
            .carousel-container {
                height: 400px;
            }

            .carousel-item {
                width: 200px;
                height: 260px;
            }

            .card-content {
                padding: 1rem;
            }

            .card-title {
                font-size: 1.1rem;
            }

            .card-description {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            .carousel-container {
                height: 350px;
            }

            .carousel-item {
                width: 160px;
                height: 220px;
            }

            .card-title {
                font-size: 1rem;
            }
        }

        /* Accessibilité */
        @media (prefers-reduced-motion: reduce) {
            .carousel-item {
                animation: none;
            }
        }

        /* Animations personnalisées */


        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

        .slide-in-left {
            animation: slideInLeft 0.6s ease-out forwards;
        }

        /* Effet de parallaxe léger sur le titre */
.parallax-title {
    background: linear-gradient(135deg, #1B3B5F, #B87854, #2d5280);
    /* Bleu Marine, Cuivre, Bleu Marine Light CELER */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

        /* Cartes avec effet glassmorphism */
        .article-card {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .article-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.6s;
        }

        .article-card:hover::before {
            left: 100%;
        }

.article-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(27, 59, 95, 0.15);  /* Bleu Marine CELER 15% */
    border-color: rgba(184, 120, 84, 0.3);  /* Cuivre CELER 30% */
}

        /* Effet d'overlay sur les images */
        .image-overlay {
            position: relative;
            overflow: hidden;
        }

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(27, 59, 95, 0.1), rgba(184, 120, 84, 0.1));
    /* Bleu Marine et Cuivre CELER 10% */
    opacity: 0;
    transition: opacity 0.3s ease;
}

        .article-card:hover .image-overlay::after {
            opacity: 1;
        }

        .article-card:hover .article-image {
            transform: scale(1.1);
        }

        .article-image {
            transition: transform 0.4s ease;
        }

        /* Badge catégorie */
.category-badge {
    background: linear-gradient(135deg, #B87854, #a36848);
    /* Cuivre vers Cuivre Dark CELER */
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(184, 120, 84, 0.3);  /* Cuivre CELER 30% */
}

        /* Animation de chargement */
        .loading-shimmer {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 2s infinite;
        }


        /* Section background avec gradient */
        .section-bg {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            position: relative;
        }

        .section-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;  
            opacity: 0.5;
        }



        /* Intersection Observer pour les animations */
        .animate-on-scroll {
            opacity: 1;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

 @media (min-width: 1024px) {
    .hero-text-left {
        order: 1 !important;
    }
    .hero-images-right {
        order: 2 !important;
    }
}


.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}
        
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(184, 120, 84, 0.5); }  /* Cuivre CELER 50% */
    50% { box-shadow: 0 0 30px rgba(184, 120, 84, 0.8); }  /* Cuivre CELER 80% */
}
        
        .icon-bounce {
            animation: bounce 2s ease-in-out infinite;
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
.reassurance-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    /* Blanc vers Blanc Cassé CELER */
    border: 2px solid #B87854;  /* Cuivre CELER (était #e5d9c5) */
    transition: all 0.3s ease;
}
        
.reassurance-card:hover {
    border-color: #1B3B5F;  /* Bleu Marine CELER (était #a28150) */
    box-shadow: 0 10px 40px rgba(27, 59, 95, 0.15);  /* Bleu Marine CELER 15% */
    transform: translateY(-5px);
}
        
        .check-item {
            transition: all 0.2s ease;
        }
        
        .check-item:hover {
            transform: translateX(5px);
        }

  /* Couleurs chatbot conformes à la charte */
.cb-widget {
    /* Garder tel quel */
}

.cb-minimized {
    background: linear-gradient(135deg, #1B3B5F 0%, #2d5280 100%) !important;
}

.cb-header {
    background: linear-gradient(135deg, #1B3B5F 0%, #2d5280 100%) !important;
}

.cb-send-button {
    background: #B87854 !important;
}

.cb-send-button:hover {
    background: #a36848 !important;
}

/* Liens et éléments interactifs */
#cb-search-pages {
    color: #1B3B5F !important;
}

#cb-search-pages:hover {
    color: #2d5280 !important;
}
/* Dans votre CSS */
.hero-photo {
    max-height: 600px; /* Au lieu de 100% */
    object-position: center top; /* Focus sur le haut (visage) */
}
/* ==========================================
   FIX COMPLET - PHOTO SECTION HERO
   Correction de tous les problèmes d'affichage
   À ajouter à Commun_tailwindstyle.css
   ========================================== */

/* ===== FIX CRITIQUE : MASQUER TOUS LES OVERLAYS SUR MOBILE ===== */

/* Par défaut (mobile), TOUT masquer sauf la photo */
.hero-overlay-card,
.hero-card-bottom-left,
.-bottom-6.-left-6,
.lg\:block.absolute.-bottom-6.-left-6 {
  display: none !important;
}

/* Sur LG (desktop), afficher les overlays */
@media (min-width: 1024px) {
  .lg\:block {
    display: block !important;
  }
}

/* ===== STRUCTURE PHOTO HERO - CONTAINER ===== */

/* Container de la photo */
.hero-image-wrapper {
  position: relative;
  max-width: 32rem; /* max-w-lg */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Container interne de la photo */
.hero-photo-container {
  position: relative;
  border-radius: 1rem; /* rounded-2xl */
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); /* shadow-2xl */
}

/* ===== IMAGE ELLE-MÊME ===== */

/* Photo principale */
.hero-photo {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Assurer que l'image ne déborde pas */
img.hero-photo {
  border-radius: 1rem;
}

/* ===== BADGES SUR LA PHOTO ===== */

/* Badge "Certifié Expert-Comptable" en haut à gauche */
.hero-badge-certified {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: white;
  backdrop-filter: blur(4px);
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border: 2px solid #1B3B5F;
  z-index: 20;
}

/* Badge "Réponse 24h" en haut à droite */
.hero-badge-response {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #B87854;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  z-index: 20;
}

/* ===== GRADIENT OVERLAY EN BAS DE PHOTO ===== */

.hero-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, rgba(27, 59, 95, 0.3), transparent);
  z-index: 5;
}

/* ===== CARTE OVERLAY "GESTION SIMPLIFIÉE" (Desktop uniquement) ===== */

/* Masquée par défaut (mobile) */
.hero-overlay-card-simplified {
  display: none;
}

/* Visible uniquement sur desktop */
@media (min-width: 1024px) {
  .hero-overlay-card-simplified {
    display: block;
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 12rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    padding: 0.75rem;
    border-left: 4px solid #B87854;
    z-index: 30;
  }
}

/* ===== EFFET DE FOND DÉCORATIF ===== */

.hero-decorative-bg {
  position: absolute;
  z-index: -10;
  inset: -1rem;
  background: linear-gradient(to right, rgba(184, 120, 84, 0.05), rgba(27, 59, 95, 0.05));
  border-radius: 1.5rem;
  filter: blur(40px);
}

/* ===== CLASSES SPÉCIFIQUES POUR LA SECTION HERO ===== */

/* Section Hero complète */
#hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: linear-gradient(to bottom right, #F8F9FA, white, #F8F9FA);
  overflow: hidden;
}

/* Éléments décoratifs flottants */
.hero-decorative-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  animation: float 6s ease-in-out infinite;
}

.hero-decorative-element:nth-child(1) {
  top: 2.5rem;
  left: 2.5rem;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(to bottom right, #1B3B5F, #2d5280);
}

.hero-decorative-element:nth-child(2) {
  bottom: 2.5rem;
  right: 5rem;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(to bottom right, #B87854, #a36848);
  opacity: 0.1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== RESPONSIVE COMPLET ===== */

/* Mobile (< 640px) */
@media (max-width: 639px) {
  .hero-photo {
    max-height: 500px;
  }
  
  .hero-badge-certified,
  .hero-badge-response {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  /* Masquer complètement les overlays */
  .hero-overlay-card-simplified,
  .hero-decorative-bg,
  [class*="absolute"][class*="-bottom"],
  [class*="absolute"][class*="-left"] {
    display: none !important;
  }
}

/* Tablette (640px - 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-photo {
    max-height: 550px;
  }
  
  /* Masquer les overlays sur tablette aussi */
  .hero-overlay-card-simplified {
    display: none !important;
  }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  .hero-photo {
    max-height: 600px;
  }
  
  /* Afficher les overlays */
  .hero-overlay-card-simplified {
    display: block;
  }
  
  .hero-decorative-bg {
    display: block;
  }
}

/* ===== CLASSES UTILITAIRES MANQUANTES ===== */

/* Max-width */
.max-w-lg {
  max-width: 32rem;
}

/* Rounded */
.rounded-2xl {
  border-radius: 1rem;
}

/* Shadow */
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Object-fit */
.object-cover {
  object-fit: cover;
}

.object-top {
  object-position: top;
}

/* Loading */
img[loading="eager"] {
  /* Propriété HTML native */
}

/* ===== STRUCTURE FLEX HERO ===== */

/* Container principal Hero */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;

}

@media (min-width: 1024px) {
  .hero-container {
    flex-direction: row;
    gap: 3rem;
  }
}

/* Partie gauche (texte) */
.hero-content-left {
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-content-left {
    width: 55%;
  }
}

/* Partie droite (photo) */
.hero-content-right {
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-content-right {
    width: 45%;
  }
}

/* ===== FIX SPÉCIFIQUE POUR BADGES ===== */

/* Badge certifié */
.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-\[\#1B3B5F\] {
  --tw-gradient-from: #1B3B5F var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(27 59 95 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-\[\#2d5280\] {
  --tw-gradient-to: #2d5280 var(--tw-gradient-to-position);
}

/* ===== OVERRIDE IMPORTANT POUR FORCER LE MASQUAGE ===== */

/* Force le masquage des overlays sur mobile/tablette */
@media (max-width: 1023px) {
  .absolute.-bottom-6,
  .absolute.-left-6,
  [class*="absolute"][class*="-bottom-6"],
  [class*="absolute"][class*="-left-6"],
  .hero-overlay-card,
  .lg\:block.absolute {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Sur desktop, les rendre visibles */
@media (min-width: 1024px) {
  .lg\:block.absolute {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (min-width: 1024px) {
  .lg\:gap-12 {
    gap: 3rem;
  }
}

/* Animation de rotation douce (optionnel) */
@keyframes rotate-subtle {
    0%, 100% { transform: rotate(3deg); }
    50% { transform: rotate(-2deg); }
}

.animate-rotate-subtle {
    animation: rotate-subtle 3s ease-in-out infinite;
}
/* ==========================================
   SECTION CHOC - VERSION SOBRE & CLAIRE
   Pour page à dominante claire
   À ajouter dans index.css
   ========================================== */

/* === SECTION PRINCIPALE - FOND CLAIR === */
#cout-desordre {
    position: relative;
    background: linear-gradient(180deg, 
        #ffffff 0%,
        #f8fafb 50%,
        #ffffff 100%
    );
    padding: 4rem 0;
    overflow: hidden;
}

/* Bordures subtiles haut et bas */
#cout-desordre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(27, 59, 95, 0.1), 
        transparent
    );
}

#cout-desordre::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(27, 59, 95, 0.1), 
        transparent
    );
}

/* === CARTE PRINCIPALE COMPACTE === */
.card-light {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.card-light:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* === BADGE COMPACT === */
.badge-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1B3B5F 0%, #2d5280 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(27, 59, 95, 0.2);
}

/* === CALCUL COMPACT === */
.calcul-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

.calcul-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calcul-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1B3B5F;
}

.calcul-label {
    font-size: 0.75rem;
    color: #6b7280;
    max-width: 80px;
    line-height: 1.2;
}

.calcul-operator {
    font-size: 1.5rem;
    color: #9ca3af;
    font-weight: 300;
}

.calcul-result {
    background: linear-gradient(135deg, #B87854 0%, #a36848 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.calcul-result-number {
    font-size: 2rem;
    display: block;
    line-height: 1;
}

.calcul-result-label {
    font-size: 0.625rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === CARTES COMPARATIVES LÉGÈRES === */
.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.card-negative-light {
    background: #fff;
    border: 2px solid #fee2e2;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card-negative-light:hover {
    border-color: #fecaca;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.card-positive-light {
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
    border: 2px solid #fed7aa;
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.card-positive-light:hover {
    border-color: #fdba74;
    box-shadow: 0 4px 12px rgba(184, 120, 84, 0.15);
}

/* Badge "NOUVELLE APPROCHE" petit */
.badge-new-small {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #B87854 0%, #a36848 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(184, 120, 84, 0.3);
}

/* === EN-TÊTE DE CARTE === */
.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.card-icon-red {
    background: #fee2e2;
    color: #dc2626;
}

.card-icon-copper {
    background: #fff8f0;
    color: #B87854;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1B3B5F;
    margin: 0;
}

.card-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

/* === LISTE COMPACTE === */
.list-compact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-compact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #4b5563;
    transition: all 0.2s ease;
}

.list-compact li:hover {
    transform: translateX(4px);
}

.list-compact li i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.list-icon-red {
    color: #dc2626;
}

.list-icon-copper {
    color: #B87854;
}

/* === PROMESSE FINALE COMPACTE === */
.promise-compact {
    text-align: center;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0 1.5rem 0;
}

.promise-title {
    font-size: 1.25rem;
    color: #1B3B5F;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promise-highlight {
    font-size: 1.75rem;
    color: #B87854;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.promise-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* === BOUTON CTA SOBRE === */
.btn-cta-light {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #1B3B5F 0%, #2d5280 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 59, 95, 0.2);
    border: none;
    cursor: pointer;
}

.btn-cta-light:hover {
    background: linear-gradient(135deg, #B87854 0%, #a36848 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(184, 120, 84, 0.3);
}

/* === INFOS COMPACTES === */
.info-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.info-pills span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.info-pills i {
    color: #B87854;
}

/* === TYPOGRAPHIE === */
.heading-main {
    font-size: 2rem;
    font-weight: 800;
    color: #1B3B5F;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.heading-sub {
    font-size: 1.125rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.heading-highlight {
    color: #B87854;
    font-weight: 700;
}

.text-small {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 1023px) {
    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calcul-inline {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .calcul-number {
        font-size: 1.5rem;
    }
    
    .heading-main {
        font-size: 1.5rem;
    }
}

@media (max-width: 639px) {
    #cout-desordre {
        padding: 2.5rem 0;
    }
    
    .card-light {
        padding: 1.5rem;
    }
    
    .calcul-result-number {
        font-size: 1.5rem;
    }
    
    .promise-compact {
        padding: 1.5rem;
    }
    
    .promise-highlight {
        font-size: 1.5rem;
    }
    
    .btn-cta-light {
        width: 100%;
        justify-content: center;
    }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* === FIX ICÔNES === */
.fas, .far, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
    display: inline-block;
}
 /* Simulation Hero */
        .hero-sim {
            background: linear-gradient(to bottom, #F8F9FA, white);
            padding: 4rem 0;
            text-align: center;
        }

        .hero-sim h1 {
            color: #1B3B5F;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }
         /* Promesse */
        .promise-modern {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
            border: 3px solid #f1f5f9;
            border-radius: 1.5rem;
            padding: 3rem;
            text-align: center;
            margin: 3rem 0 2rem 0;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
        }

        .promise-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #1B3B5F, #B87854, #1B3B5F);
            background-size: 200% 100%;
            animation: gradient-shift 3s ease infinite;
        }

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

        .promise-label {
            font-size: 0.875rem;
            color: #64748b;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.75rem;
        }

        .promise-title-modern {
            font-size: 1.5rem;
            color: #0f172a;
            font-weight: 700;
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }

        .promise-highlight-modern {
            font-size: 2.25rem;
            font-weight: 900;
            background: linear-gradient(135deg, #B87854, #a36848);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.75rem;
            line-height: 1.2;
        }

        .promise-subtitle-modern {
            font-size: 1rem;
            color: #64748b;
            line-height: 1.6;
        }