$(document).ready(function () {
    $('.chiffre').each(function () {
        $(this).prop('Counter', 0).animate({
            Counter: $(this).text()
        }, {
            duration: 8500,
            easing: 'swing',
            step: function (now) {
                var x = Math.ceil(now);
                $(this).text(x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " "));
            }
        });
    });
    $('.domaine .filter').click(function () {
        $($('.active').data("filter")).css({"display": "none"});
        $('.active').removeClass('active');

        $(this).addClass('active');
        $($(this).data("filter")).fadeIn(700);
    });
    $("#maintenance").trigger("click", function () {

    });
    /*AOS.init({
        duration: 1200,
    });*/
});


