:root {
            --primary: #0066CC;
            --primary-light: #e6f3ff;
            --primary-dark: #003D7A;
            --accent: #16a34a;
            --secondary: #1e293b;
            --secondary-light: #f8fafc;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        }

        .dark {
            --primary: #0066CC;
            --primary-light: #1e3a8a;
            --primary-dark: #003D7A;
            --accent: #16a34a;
            --secondary: #0f172a;
            --secondary-light: #1e293b;
            --text-primary: #f1f5f9;
            --text-secondary: #cbd5e1;
            --text-muted: #94a3b8;
            --border: #334155;
            --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-primary);
            background-color: var(--secondary-light);
        }

        .dark body {
            background-color: var(--secondary);
        }
        
        .top-bar {
            background-color: var(--primary-dark);
            color: white;
            padding: 0.5rem 0;
            font-size: 0.875rem;
            position: relative;   /* pour être au-dessus du flow normal */
            z-index: 30;          /* au-dessus du header z-20 */
        }


        .dark .header-fixed {
            background-color: rgba(15, 23, 42, 0.95);
        }

        /* Bouton retour en haut */
        .scroll-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .scroll-to-top.show {
            opacity: 1;
            visibility: visible;
        }

        /* Cards modernes */
        .card {
            background-color: white;
            border-radius: 1rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .dark .card {
            background-color: var(--secondary-light);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        /* Section spacing */
        .section {
            padding: 5rem 0;
        }

        .section-sm {
            padding: 3rem 0;
        }

        /* Gradient text */
        .gradient-text {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Button styles */
        .btn-primary {
            background-color: var(--primary);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border);
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background-color: var(--primary-light);
            border-color: var(--primary);
        }

        /* Stats counter */
        .stat-item {
            text-align: center;
            padding: 1.5rem;
        }

        .stat-value {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1;
        }

        .stat-label {
            font-size: 0.875rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }

        /* Testimonial cards */
        .testimonial-card {
            background-color: white;
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: var(--shadow);
            position: relative;
        }

        .dark .testimonial-card {
            background-color: var(--secondary-light);
        }

        .testimonial-card::before {
            content: """;
            position: absolute;
            top: 1rem;
            left: 1rem;
            font-size: 4rem;
            color: var(--primary-light);
            font-family: Georgia, serif;
            line-height: 1;
        }

        /* Feature icons */
        .feature-icon {
            width: 4rem;
            height: 4rem;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--primary-light);
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        /* Calculator slider */
        .slider-container {
            position: relative;
            margin-bottom: 2rem;
        }

        .slider {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: var(--border);
            outline: none;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: var(--shadow);
        }

        .slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: var(--shadow);
        }

        .slider-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        /* Hero section */
        .hero-title {
            font-size: 3.5rem;
            line-height: 1.1;
            font-weight: 700;
        }

        @media (min-width: 768px) {
            .hero-title {
                font-size: 4.5rem;
            }
        }

        @media (min-width: 1024px) {
            .hero-title {
                font-size: 5rem;
            }
        }

        /* Section titles */
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
        }

        @media (min-width: 768px) {
            .section-title {
                font-size: 3rem;
            }
        }

        /* FAQ Styles */
        .faq-item {
            border-bottom: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .dark .faq-item {
            border-color: var(--border);
        }

        .faq-question {
            padding: 1.5rem 0;
            cursor: pointer;
            display: flex;
            justify-content: between;
            align-items: center;
            font-weight: 600;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            color: var(--text-secondary);
        }

        .faq-answer.open {
            max-height: 500px;
            padding-bottom: 1.5rem;
        }

        .faq-icon {
            transition: transform 0.3s ease;
        }

        .faq-icon.rotate-180 {
            transform: rotate(180deg);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section {
                padding: 3rem 0;
            }
            
            .stat-value {
                font-size: 1.75rem;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }
        #main-header {
            transition: top 0.3s ease, position 0.3s ease;
        }
          /* Animations de flottement */
            @keyframes float-slow {
                0%, 100% {
                    transform: translateY(0) translateX(0) rotate(0deg);
                }
                25% {
                    transform: translateY(-10px) translateX(5px) rotate(2deg);
                }
                50% {
                    transform: translateY(-5px) translateX(-5px) rotate(-1deg);
                }
                75% {
                    transform: translateY(-8px) translateX(3px) rotate(1deg);
                }
            }
        
            @keyframes float-medium {
                0%, 100% {
                    transform: translateY(0) translateX(0) rotate(0deg);
                }
                33% {
                    transform: translateY(-8px) translateX(8px) rotate(3deg);
                }
                66% {
                    transform: translateY(-12px) translateX(-6px) rotate(-2deg);
                }
            }
        
            @keyframes float-fast {
                0%, 100% {
                    transform: translateY(0) translateX(0) rotate(0deg);
                }
                25% {
                    transform: translateY(-15px) translateX(10px) rotate(5deg);
                }
                50% {
                    transform: translateY(-8px) translateX(-8px) rotate(-3deg);
                }
                75% {
                    transform: translateY(-12px) translateX(6px) rotate(2deg);
                }
            }
        
            .animate-float-slow {
                animation: float-slow 8s ease-in-out infinite;
            }
        
            .animate-float-medium {
                animation: float-medium 6s ease-in-out infinite;
            }
        
            .animate-float-fast {
                animation: float-fast 4s ease-in-out infinite;
            }
        
            /* Assurer que les images flottantes restent en arrière-plan */
            .absolute img {
                filter: brightness(0.8);
                mix-blend-mode: multiply;
            }
        
            .dark .absolute img {
                filter: brightness(0.6) invert(0.1);
                mix-blend-mode: screen;
            }
                /* Animation subtile pour l'image d'arrière-plan */
            .absolute.inset-0 img {
                transform: scale(1.1);
                transition: transform 0.5s ease;
            }
            
            footer:hover .absolute.inset-0 img {
                transform: scale(1.05);
            }
            
        /* Stats counter */
        .stat-item {
            text-align: center;
            padding: 1.5rem;
        }

        .stat-value {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1;
        }

        .stat-label {
            font-size: 0.875rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }

        /* Feature icons */
        .feature-icon {
            width: 4rem;
            height: 4rem;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--primary-light);
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        /* Section titles */
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
        }

        @media (min-width: 768px) {
            .section-title {
                font-size: 3rem;
            }
        }

        /* Team member cards */
        .team-card {
            text-align: center;
            transition: all 0.3s ease;
        }

        .team-image {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            overflow: hidden;
            border: 4px solid var(--primary-light);
        }

        .team-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Timeline */
        .timeline {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: var(--primary-light);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: var(--primary);
            border: 4px solid white;
            border-radius: 50%;
            top: 15px;
            z-index: 1;
        }

        .left {
            left: 0;
        }

        .right {
            left: 50%;
        }

        .left::after {
            right: -10px;
        }

        .right::after {
            left: -10px;
        }

        .timeline-content {
            padding: 20px 30px;
            background-color: white;
            border-radius: 1rem;
            box-shadow: var(--shadow);
        }

        .dark .timeline-content {
            background-color: var(--secondary-light);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section {
                padding: 3rem 0;
            }
            
            .stat-value {
                font-size: 1.75rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item::after {
                left: 21px;
            }
            
            .right {
                left: 0%;
            }
        }
    
        .animate-float-slow {
            animation: float-slow 8s ease-in-out infinite;
        }
    
        .animate-float-medium {
            animation: float-medium 6s ease-in-out infinite;
        }
    
        .animate-float-fast {
            animation: float-fast 4s ease-in-out infinite;
        }
    
        .absolute img {
            filter: brightness(0.8);
            mix-blend-mode: multiply;
        }
    
        .dark .absolute img {
            filter: brightness(0.6) invert(0.1);
            mix-blend-mode: screen;
        }
        
        .absolute.inset-0 img {
            transform: scale(1.1);
            transition: transform 0.5s ease;
        }
        
        /* Values grid */
        .value-card {
            text-align: center;
            padding: 2rem;
            border-radius: 1rem;
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .value-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        
        /* Contact form styles */
        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-primary);
        }

        .form-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid var(--border);
            border-radius: 0.75rem;
            background-color: white;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .dark .form-input {
            background-color: var(--secondary-light);
            border-color: var(--border);
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }

        /* Contact info cards */
        .contact-card {
            padding: 2rem;
            text-align: center;
            height: 100%;
        }

        .contact-icon {
            width: 4rem;
            height: 4rem;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--primary-light);
            color: var(--primary);
            margin: 0 auto 1.5rem;
        }

        /* Section titles */
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
        }

        @media (min-width: 768px) {
            .section-title {
                font-size: 3rem;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section {
                padding: 3rem 0;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }

        .form-select {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid var(--border);
            border-radius: 0.5rem;
            background-color: white;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .dark .form-select {
            background-color: var(--secondary-light);
            border-color: var(--border);
            color: var(--text-primary);
        }

        .form-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
        }
        .step{
            display: none;
        }
        .active{
            display: block;
        }
