/* Sections principales */
        .main-content {
            background: rgb(242, 244, 246);
            position: relative;
            z-index: 3;
        }

        .section {
            padding: 6rem 0;
            position: relative;
        }

        .section:nth-child(even) {
            background: var(--light);
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 1rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -0.5rem;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--primary);
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Grilles modernes */
        .grid {
            display: grid;
            gap: 2rem;
        }

        .grid-2 { grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); }
        .grid-3 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
        .grid-4 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

        .card {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .card-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            margin-bottom: 1.5rem;
        }

        .card h3 {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 1rem;
        }

        .card p {
            color: #666;
            line-height: 1.6;
        }

        /* Sections spécialisées */
        .methodology-section {
            background: linear-gradient(135deg, var(--dark) 0%, #34495e 100%);
            color: rgb(117, 111, 100);
        }

        .methodology-section .section-title,
        .methodology-section .section-subtitle {
            color: rgb(127, 119, 85);
        }

        .process-timeline {
            position: relative;
            margin-top: 3rem;
        }

        .timeline-item {
            display: flex;
            align-items: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .timeline-number {
            width: 60px;
            height: 60px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            margin-right: 2rem;
            flex-shrink: 0;
        }

        .timeline-content h4 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .expertise-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .expertise-item {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .expertise-item:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-3px);
        }

        .expertise-percentage {
            font-size: 2rem;
            font-weight: 700;
            color: var(--secondary);
            display: block;
            margin-bottom: 0.5rem;
        }

        /* CTA final */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            text-align: center;
            padding: 6rem 0;
        }

        .cta-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .cta-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .cta-text {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1rem 2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

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

        .btn-outline {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn:hover {
            transform: translateY(-2px);
        }

    

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

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }
  .solution-p{
    background-color: #eae8d9;
    border-radius: 5px;
    padding: 10px;
  }
 .cta-buttonfeatures {
    width: 100%;
    background: linear-gradient(135deg, #f1e7b2, #a5a088);
    color: rgb(72, 70, 70);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  
    margin-top: auto; /* 👈 force le bouton à rester en bas */
    text-align: center;
}

        .cta-buttonfeatures:hover {
            background: linear-gradient(135deg, #4d3f23, #878057);
            transform: translateY(-2px);
            color: rgb(243, 239, 239);
        }

          

        
        .slide-in-left { animation: slideInLeft 0.8s ease-out; }
        .slide-in-right { animation: slideInRight 0.8s ease-out; }
        
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        

        
        .service-image {
            position: relative;
            overflow: hidden;
        }
        
        .service-image::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(27,59,95,0.1), rgba(184,120,84,0.1));
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .service-image:hover::before {
            opacity: 1;
        }
        
        .service-image img {
            transition: transform 0.5s ease;
        }
        
        .service-image:hover img {
            transform: scale(1.05);
        }
        
        /* Service Cards */
        .service-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            margin-bottom: 6rem;
        }
        
        .service-card:nth-child(even) {
            grid-template-columns: 1fr 1fr;
            direction: rtl;
        }
        
        .service-card:nth-child(even) > * {
            direction: ltr;
        }
        
        @media screen and (max-width: 1024px) {
            .service-card,
            .service-card:nth-child(even) {
                grid-template-columns: 1fr;
                direction: ltr;
                gap: 2rem;
            }
        }
        
        /* Service Content */
        .service-content h3 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            flex-shrink: 0;
        }
        
        .service-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--secondary);
            margin-bottom: 2rem;
        }
        
        .service-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .feature {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 3px solid var(--accent);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .feature h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .feature p {
            font-size: 0.95rem;
            color: var(--secondary);
            line-height: 1.6;
        }
        
        /* Process Section */
        .process-section {
            background: var(--dark);
            padding: 6rem 0;
            color: white;
        }
        
        .process-section .section-header h2,
        .process-section .section-header p {
            color: white;
        }
        
        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }
        
        .step {
            background: rgba(255,255,255,0.05);
            padding: 2rem;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.1);
            position: relative;
            transition: all 0.3s ease;
        }
        
        .step:hover {
            background: rgba(255,255,255,0.08);
            transform: translateY(-5px);
        }
        
        .step-number {
            position: absolute;
            top: -20px;
            left: 20px;
            width: 50px;
            height: 50px;
            background: var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.3rem;
            box-shadow: 0 4px 12px rgba(184,120,84,0.3);
        }
        
        .step h4 {
            font-size: 1.3rem;
            margin: 2rem 0 1rem;
            color: white;
        }
        
        .step p {
            color: rgba(255,255,255,0.8);
            line-height: 1.7;
        }



.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgb(78, 64, 64), rgba(255, 255, 255, 0.7));
    border-radius: 4px;
    animation: fillProgress 2s ease-out 2s forwards;
    width: 0;
}

@keyframes fillProgress {
    to { width: var(--progress-width, 85%); }
}

/* Animations d'entrée avec délais */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up-1 { animation: slideUp 1s ease-out 0.3s forwards; opacity: 0; }
.animate-slide-up-2 { animation: slideUp 1s ease-out 0.6s forwards; opacity: 0; }
.animate-slide-up-3 { animation: slideUp 1s ease-out 0.9s forwards; opacity: 0; }
.animate-slide-up-4 { animation: slideUp 1s ease-out 1.2s forwards; opacity: 0; }

/* Images de service responsive avec overlay */
.service-bg-1 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                      url("../IMG/businessplan-nganhang.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-bg-2 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                      url("../IMG/business-niveau-expert.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-bg-3 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                      url("../IMG/business-building.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

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

/* Classes de couleurs personnalisées (utilisant les variables) */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-dark { color: var(--dark); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-dark { background-color: var(--dark); }
.border-primary { border-color: var(--primary); }

/* Dark section */
.dark-section {
    background: #454444;
}
.faq-answer {
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.faq-answer.open {
    transition: max-height 0.3s ease-in;
}

/* ===== CORRECTION LAYOUT SERVICES ===== */

/* Force l'affichage horizontal sur desktop pour les sections services */
@media (min-width: 1024px) {
    /* Service 1 et 3 : Image GAUCHE, Texte DROITE */
    #Business-plan-dosier-financement,
    #Business-plan-dosier-financement + div + div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 2rem !important;
    }
    
    /* Service 2 : Image DROITE, Texte GAUCHE */
    #Business-plan-dosier-financement + div {
        display: flex !important;
        flex-direction: row-reverse !important;
        align-items: center !important;
        gap: 2rem !important;
    }
    
    /* Chaque colonne (image et texte) prend 50% de l'espace */
    #Business-plan-dosier-financement > div,
    #Business-plan-dosier-financement + div > div,
    #Business-plan-dosier-financement + div + div > div {
        flex: 1 1 50% !important;
        max-width: 50% !important;
    }
}

/* Sur mobile, reste en vertical */
@media (max-width: 1023px) {
    #Business-plan-dosier-financement,
    #Business-plan-dosier-financement + div,
    #Business-plan-dosier-financement + div + div {
        flex-direction: column !important;
    }
    
    #Business-plan-dosier-financement > div,
    #Business-plan-dosier-financement + div > div,
    #Business-plan-dosier-financement + div + div > div {
        max-width: 100% !important;
    }
}

/* ===== CORRECTIONS MOBILE FINALES ===== */
@media screen and (max-width: 768px) {
    /* Force le margin-top */
    .hero-template {
        margin-top: 80px !important;
        padding-top: 2rem !important;
    }
    
    /* Force la grille en colonne sur mobile */
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 1rem !important;
    }
    
    /* Ajuste les titres */
    .hero-content h1,
    .hero-template-content h1 {
        font-size: 2rem !important;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        text-align: center;
    }
    
    /* Stats en colonne */
    .hero-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}
 /* FAQ */
        .faq-list {
            max-width: 800px;
            margin: 60px auto 0;
        }

        .faq-item {
            background: white;
            border-radius: 8px;
            margin-bottom: 16px;
            border: 1px solid #e5e7eb;
            overflow: hidden;
        }

        .faq-question {
            padding: 24px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            font-weight: 600;
            color: var(--primary);
        }

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

        .faq-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            color: var(--accent);
            transition: transform 0.2s;
        }

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

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

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

        .faq-answer-content {
            padding: 0 24px 24px;
            color: var(--secondary);
            line-height: 1.7;
        }

        /* CTA Section */
        .cta-section {
            background: var(--primary);
            color: white;
            text-align: center;
            padding: 80px 60px;
        }

        .cta-section h2 {
            font-size: 42px;
            color: white;
            margin-bottom: 20px;
        }

        .cta-section p {
            font-size: 18px;
            opacity: 0.95;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
 .section-tag {
            display: inline-block;
            padding: 6px 16px;
            background: var(--light);
            color: var(--accent);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            border-radius: 20px;
            margin-bottom: 20px;
        }

        .section h2 {
            font-size: 42px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .section-intro {
            font-size: 18px;
            color: var(--secondary);
            max-width: 700px;
            margin: 0 auto;
        }
         /* CTA Section */
        .cta-section {
            background: #F8F9FA;
            color: #4A5568 ;
            text-align: center;
            padding: 80px 60px;
        }

        .cta-section h2 {
            font-size: 42px;
            color:#B87854 ;
            margin-bottom: 20px;
        }

        .cta-section p {
            font-size: 18px;
            opacity: 0.95;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-info {
            margin-top: 30px;
            font-size: 14px;
            opacity: 0.8;
        }