/* --- STYLES DE BASE & VARIABLES --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --primary-blue: #1E3A8A;
            --secondary-blue: #1E40AF;
            --light-blue: #3B82F6;
            --yellow: #FFD700;
            --orange: #FFA500;
            --white: #FFFFFF;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--white);
            background: white;
            overflow-x: hidden;
        }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        
        /* --- ANIMATIONS CLASSES --- */
        .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
        .reveal.active { opacity: 1; transform: translateY(0); }

        /* --- HERO --- */
        .hero-about {
            height: 50vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), 
                        url('img/img12.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }
        .hero-about h1 { font-size: 4rem; color: var(--yellow); text-shadow: 0 4px 15px rgba(0,0,0,0.4); }

        /* --- SECTION MISSION (Images adaptées) --- */
        .mission-section { padding: 50px 0; }
        .mission-grid { display: flex; grid-template-columns: 1fr; gap: 40px; align-items: center; }
        .mission-grid1 { display: flex; grid-template-columns: 1fr; gap: 40px; align-items: center; }

        
        
        .mission-content h2 { color: rgba(30, 58, 138, 0.98); font-size: 2.5rem; margin-bottom: 10px; }
        .mission-content p { font-size: 1.2rem; color: #495f7b; margin-bottom: 10px; }
        .mission-content {
            flex: 1;                  /* prend 50% */
        }
        .mission-image {
            position: relative;
            border-radius: 30px;
            overflow: hidden;
            flex: 1; 
            display: flex;
            box-shadow: 0 20px 50px rgba(0,0,0,0.4);
        }
        .mission-image img { width: 100%; height: 100%; transition: transform 1s; }
        .mission-image:hover img { transform: scale(1.1); }

        /* --- VALEURS (Cartes animées) --- */
        .values-section { padding: 20px 0; background: rgba(200, 196, 196, 0.2); }
        .values-section h2 { color: rgba(30, 58, 138, 0.98); font-size: 2.5rem; margin-bottom: 10px; }
        .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
        
        .value-card {
            background: linear-gradient(rgba(19, 55, 155, 0.7), rgba(12, 49, 152, 0.7));
            backdrop-filter: blur(10px);
            padding: 20px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            transition: 0.4s ease;
        }
        .value-card:hover {
            transform: translateY(-15px);
            border-color: var(--yellow);
            background: linear-gradient(rgba(19, 55, 155, 0.7), rgba(12, 49, 152, 0.7));
        }
        .value-icon { font-size: 3.0rem; margin-bottom: 0px; display: block; }
        .value-card h3 { color: var(--yellow); margin-bottom: 10px; font-size: 1.5rem; }
        .value-card p { font-size: 1.0rem; }
        .btn-cta { align-self: flex-start; padding: 12px 30px; background: var(--yellow); color: var(--primary-blue); text-decoration: none; border-radius: 50px; font-weight: 700; transition: 0.3s; }
        .btn-cta:hover { background: var(--orange); transform: scale(1.05); }


        .carousel-section {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin: 0;
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

/* Overlay pour assombrir */
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    rgba(30, 58, 138, 0.25),
    rgba(30, 58, 138, 0.4)
    );
    pointer-events: none;
    z-index: 2;
}

/* Contenu texte - Centré */
.carousel-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 90%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Titre principal avec animation - POLICES RÉDUITES */
.carousel-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    animation: fadeInDown 1.2s ease-out;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

/* Sous-titre avec animation - POLICES RÉDUITES */
.carousel-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Ligne décorative avec animation */
.carousel-divider {
    width: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #FFD700, #FFA500, #FFD700, transparent);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.6s forwards;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 200px;
    }
}

/* Responsive - Tablettes */
@media (max-width: 1024px) {
    .carousel-section {
        height: 200px;
    }
    
    .carousel-title {
        font-size: clamp(1.5rem, 3.0vw, 2.3rem);
        letter-spacing: 1px;
    }
    
    .carousel-subtitle {
        font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    }

    .service-info h2 { font-size: 1.2rem; }
    .service-info p { font-size: 0.8rem; }
    
    @keyframes expandWidth {
        to {
            width: 180px;
        }
    }

    .mission-grid {
                flex-direction:column;
                justify-content: center;
                align-items: center;
                gap: 1px;
            }

            .mission-grid1 {
                
                justify-content: center;
                align-items: center;
                gap: 1px;
                flex-direction: column-reverse;
            }
            .mission-section { padding: 15px 0; }
            .values-section h2 { font-size: 1.2rem; }
            .value-card h3 { font-size: 1.2rem; }
            .value-card p { font-size: 0.8rem; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .carousel-section {
        height: 200px;
    }
    
    .carousel-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        letter-spacing: 0.5px;
        margin-bottom: 12px;
    }
    
    .carousel-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 20px;
    }
    
    .carousel-divider {
        height: 2px;
    }
    
    @keyframes expandWidth {
        to {
            width: 150px;
        }
    }

    .mission-grid {
                flex-direction:column;
                justify-content: center;
                align-items: center;
                gap: 1px;
            }

            .mission-grid1 {
                
                justify-content: center;
                align-items: center;
                gap: 1px;
                flex-direction: column-reverse;
            }
            .mission-section { padding: 15px 0; }
            .values-section h2 { font-size: 1.2rem; }
            .value-card h3 { font-size: 1.2rem; }
            .value-card p { font-size: 0.8rem; }
}

/* Responsive - Petit Mobile */
@media (max-width: 480px) {
    .carousel-section {
        height: 200px;
    }
    
    .carousel-title {
        font-size: 1.0rem;
        letter-spacing: 0.3px;
        margin-bottom: 10px;
    }
    
    .carousel-subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    @keyframes expandWidth {
        to {
            width: 120px;
        }
    }

    .mission-grid {
                flex-direction:column;
                justify-content: center;
                align-items: center;
                gap: 1px;
            }

            .mission-grid1 {
                
                justify-content: center;
                align-items: center;
                gap: 1px;
                flex-direction: column-reverse;
            }
            .mission-section { padding: 15px 0; }
            .values-section h2 { font-size: 1.2rem; }
            .value-card h3 { font-size: 1.2rem; }
            .value-card p { font-size: 0.8rem; }
}

/* Responsive - Très petit écran */
@media (max-width: 360px) {
    .carousel-section {
        height: 200px;
    }
    
    .carousel-title {
        font-size: 1.0rem;
    }
    
    .carousel-subtitle {
        font-size: 0.8rem;
    }
    
    @keyframes expandWidth {
        to {
            width: 100px;
        }
    }

    .mission-content h2 { font-size: 1.2rem; }
    .mission-content p { font-size: 0.8rem; }

    .values-section h2 { font-size: 1.2rem; }

    .mission-grid {
                flex-direction:column;
                justify-content: center;
                align-items: center;
                gap: 1px;
            }

    .mission-grid1 {
                
                justify-content: center;
                align-items: center;
                gap: 1px;
                flex-direction: column-reverse;
            }

            .mission-section { padding: 15px 0; }
            .value-card h3 { font-size: 1.2rem; }
            .value-card p { font-size: 0.8rem; }
}

/* Pourquoi choisir Créaqad - Version simple */
.why-choose {
    padding: 10px 0;
    background: linear-gradient(135deg, rgba(238, 224, 224, 0.1), rgba(255, 255, 255, 0.05));
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 0px;
    padding-top: 10px;
}

.why-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-card:hover {
    border-color: var(--yellow);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.3);
}

.why-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.section-title{
    color: rgba(30, 58, 138, 0.98); font-size: 2.5rem; 
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.why-card:hover h3 {
    color: var(--orange);
}

.why-card p {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .section-title{ font-size: 1.2rem }
}

@media (max-width: 480px) {
    .why-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .why-card {
        padding: 30px 20px;
    }

    .section-title{ font-size: 1.2rem }
}