


/* ==========================================
   APPROCHE SERVICES
   ========================================== */

.mobile-dropdown-content {
    display: block !important;
}


     .text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

      .service-image {
            position: relative;
            overflow: hidden;
                      border: 3px solid var(--primary);
        }
        
        .service-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 100%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }
        
        .service-image:hover::before {
            transform: translateX(100%);
        }
        .footer-title {
    background: linear-gradient(135deg, #b8aa90 0%, #cfb96a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Fallback pour mobile si bg-clip-text ne fonctionne pas */
@supports not (-webkit-background-clip: text) {
    .footer-title {
        background: none !important;
        color: #cfb96a !important;
        -webkit-text-fill-color: #cfb96a !important;
    }
}

/* COMMUNE DE INDEX-CELER */

     
        .hover-lift {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .floating { animation: float 6s ease-in-out infinite; }
        

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

/* ==========================================
   VARIABLES ET BASE
   ========================================== */
:root {
    /* Couleurs principales */
    --primary-gold: #9c8534;
    --secondary-gold: #f7f1b2;
    --accent-gold: #fbbf24;
    --dark-gold: #533f19;
    --light-beige: #e6dba7;
    --cream: #efeaca;
    --bright-gold: #f6cc23;
    
    /* Texte */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    
    /* Chatbot */
    --cb-primary: #a7977e;
    --cb-primary-light: #b8a992;
    --cb-primary-dark: #96866d;
    --cb-primary-subtle: rgba(167, 151, 126, 0.1);
    --cb-primary-glow: rgba(167, 151, 126, 0.2);
}

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

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

/* ==========================================
   HERO SECTION - CORRIGÉ
   ========================================== */

.hero-gradient-bg {
    background: linear-gradient(-45deg, var(--primary-gold), var(--secondary-gold), var(--dark-gold), var(--light-beige), var(--cream), var(--bright-gold));
    background-size: 400% 400%;
    background-position: 0% 50%;
    animation: gradientShift 15s ease infinite;
}

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

/* BARRE DE PROGRESSION - CORRIGÉE */
.progress-bar-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 2rem 0 1rem 0;
    position: relative;
    z-index: 5;
}

.progress-bar {
    position: relative;
    width: 280px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--bright-gold));
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Messages rotatifs */
.message-container {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rotating-message {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-message.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.floating-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   SECTION INTRODUCTION - CORRIGÉE
   ========================================== */

#hero {
    background: linear-gradient(135deg, #f1f1f1 0%, #ffffff 50%, #f3deb8 100%);
}

/* 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);
}

/* ==========================================
   APPROCHE SERVICES
   ========================================== */

.service-approach-section {
    padding: 3rem 0;
    background: linear-gradient(-45deg, #89752e, #b8b28c, #65581e, #e6dba7, #cdc289, #cfb86d);
    background-size: 400% 400%;
}

.service-approach-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* ==========================================
   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, var(--primary-gold), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-gradient {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold), var(--bright-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Boutons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(156, 133, 52, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-gold), var(--primary-gold));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(156, 144, 101, 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;
    }
}



















      


   

  
