Géométrie énumérative et invariants tropicaux raffinés