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

        
        /* --- HERO SECTION AVEC IMAGE DE FOND --- */
        .hero-mini {
            position: relative;
            padding: 130px 0 60px;
            text-align: center;
            background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.8)), 
                              url('img/img2.png'); /* Image de fond : intérieur maison chaleureux */
            background-size: cover;
            background-position: center;
            background-attachment: fixed; /* Effet parallaxe soft */
            margin-bottom: 30px;
        }
        .hero-mini h1 { 
            
            font-size: clamp(2rem, 3vw, 4.5rem);
            font-weight: bold;
            margin-bottom: 40px;
            background: linear-gradient(to right, var(--yellow), #FFF4A3, var(--yellow));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
            animation: fadeInUp 0.8s ease-out; 
        }
        .hero-mini p { 
            font-size: 1.3rem; 
            margin: 0 auto; 
            color: var(--white);
            text-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        /* --- CARTES SERVICES --- */
        .service-card {
            background: linear-gradient(rgba(19, 55, 155, 0.7), rgba(12, 49, 152, 0.7));
            backdrop-filter: blur(10px);
            border: 2px solid rgb(249, 199, 0);
            border-radius: 30px;
            margin-bottom: 30px;
            margin-top: 10px;
            margin-left: 10px;
            margin-right: 10px;
            overflow: hidden;
            display: grid;
            grid-template-columns: 1fr;
            transition: 0.4s ease;
        }
        .service-card:hover {
            transform: translateY(-10px);
            border-color: rgba(255, 215, 0, 0.4);
        }
        .service-img-wrapper { overflow: hidden; height: 100%; }
        .service-img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; }
        .service-card:hover .service-img { transform: scale(1.08); }
        .service-info { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
        .service-info h2 { color: var(--yellow); font-size: 2rem; margin-bottom: 10px; }
        .service-info p { margin-bottom: 10px; }
        .feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; list-style: none; margin-bottom: 30px; }
        .feature-list li { background: rgba(255,255,255,0.05); padding: 10px 15px; border-radius: 12px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
        .feature-list li::before { content: "✓"; color: var(--yellow); font-weight: bold; }
        .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; font-size: 1.0rem; }
        .btn-cta:hover { background: var(--orange); transform: scale(1.05); }

        .feature-list1 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 5px; list-style: none; margin-bottom: 10px; }
        .feature-list1 li { padding: 0px 0px; border-radius: 12px; font-size: 0.7rem; display: flex; align-items: center; gap: 0px; }
        .btn-cta1 { text-align: center; align-self: flex-start; padding: 10px 20px; background: linear-gradient(rgb(255, 204, 0), rgb(255, 179, 0)); color: var(--primary-blue); text-decoration: none; border-radius: 20px; font-weight: 700; transition: 0.3s; font-size: 0.9rem; }
        .btn-cta1:hover { background: var(--orange); transform: scale(1.05); }
        .service-list {display: none;}

        /* --- NOS ENGAGEMENTS (Glassmorphism) --- */
        .commitments { padding: 50px 0; background: linear-gradient(rgba(19, 55, 155, 0.7), rgba(12, 49, 152, 0.7)); }
        .commitments h2 { text-align: center; font-size: 2.5rem; color: var(--yellow); margin-bottom: 30px; }
        .commitments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-left: 10px; margin-right: 10px;}
        .commitment-card {
            background: rgba(255, 255, 255, 0.07);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px 15px;
            border-radius: 25px;
            text-align: center;
            transition: 0.4s;
        }
        .commitment-card:hover { transform: translateY(-12px); border-color: var(--yellow); }
        .commitment-icon { font-size: 3rem; margin-bottom: 0px; display: block; }

        .contact h2 { text-align: center; font-size: 2.5rem; color: rgba(30, 58, 138, 0.98); margin-bottom: 30px; }
        .contact p { text-align: center; font-size: 1.5rem; color: rgba(30, 58, 138, 0.98); margin-bottom: 30px; }
        /* ANIMATIONS */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (min-width: 992px) {
            .service-card { grid-template-columns: 1fr 1fr; }
            .service-card.reverse .service-img-wrapper { order: 2; }
            .service-card.reverse .service-info { order: 1; }
        }


        .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; }
    .btn-cta { font-weight: 600; font-size: 1.0rem;}
    .contact p {font-size: 1.0rem;}
    .contact h2 {font-size: 1.5rem;}
    .contact p {font-size: 0.8rem;}
    .contact h2 {font-size: 1.5rem;}
    
    @keyframes expandWidth {
        to {
            width: 180px;
        }
    }
}

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

    .service-info h2 { font-size: 1.2rem; }
    .service-info p { font-size: 0.8rem; }
    .btn-cta { font-weight: 600; font-size: 1.0rem;}
    .contact p {font-size: 0.8rem;}
    .contact h2 {font-size: 1.5rem;}
}

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

    .service-info h2 { font-size: 1.2rem; }
    .service-info p { font-size: 0.8rem; }
    .btn-cta { font-weight: 600; font-size: 1.0rem;}
    .contact p {font-size: 0.8rem;}
    .contact h2 {font-size: 1.5rem;}
}

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

    .service-info h2 { font-size: 1.2rem; }
    .service-info p { font-size: 0.8rem; }
    .btn-cta { font-weight: 600; font-size: 0.7rem;}
    .commitments h2 { font-size: 1.8rem;}
    .contact p {font-size: 0.8rem;}
    .contact h2 {font-size: 1.5rem;}
}